Issue Number | 3730 |
---|---|
Summary | Mailer Creation Fails with Table Error |
Created | 2014-02-20 18:50:11 |
Issue Type | Bug |
Submitted By | Englisch, Volker (NIH/NCI) [C] |
Assigned To | Englisch, Volker (NIH/NCI) [C] |
Status | Closed |
Resolved | 2014-02-21 13:33:39 |
Resolution | Fixed |
Path | /home/bkline/backups/jira/ocecdr/issue.118693 |
The Advisory Board summary mailer for the Supportive Care Advisory board for the summary 'Nutrition in Cancer Care' fails with the following error:
failure generating LaTeX for CDR0000276584: Total of explicit ColWidth too large
It appears that whenever the last column of a table is the same width
of the previous table columns, the value storing the remaining usable
space became numerically zero; something like 4.0e-16 but it could also
become negative (-4.0e-16) which is the same to a human but not to a
computer.
I've made adjustments to the variable in question to ensure 0.0 will be
seen as 0.0. The modified program is
R12370: cdrlatextables.py
This is available for testing on DEV.
Another file that needs to be copied (although the changes are not directly related to the issue):
R12373: cdrmailer.py
Verified on Dev. I copied the problem tables (from previous versions on Prod) to DEV. and generated the mailers without problems.
I was able to run mailers on QA for summaries with tables that failed on Prod. I will be sitting down with Bonnie this afternoon to complete testing this issue since she ran into problems when she was testing yesterday. I will update the issue after testing.
We were able to run the mailer on QA on Bonnie's computer. It was successful. However, she is not set up to view the mailer job on QA yet so we couldn't test to that point and perhaps we didn't need to since the failure happened before the view print job command on Prod. So, it looks like all is set for this issue to be released. I have marked it as QA verified.
I am hesitant to test thing change in PROD since it will involve editing summaries by modifying tables, creating versions and running mailer jobs. I am wondering if we can close this issue and re-open it if there are problems in the future. Please let me know what you think.
Either way works for me. We certainly don't want to make any changes on PROD if that might cause a problem. I suggest to close it and re-open if necessary.
Sure. Thanks! I will go ahead and close it.
Elapsed: 0:00:00.001459