Issue Number | 3861 |
---|---|
Summary | Summaries Citation report error |
Created | 2015-01-16 12:06:47 |
Issue Type | Bug |
Submitted By | Beckwith, Margaret (NIH/NCI) [E] |
Assigned To | alan |
Status | Closed |
Resolved | 2015-01-30 10:45:27 |
Resolution | Fixed |
Path | /home/bkline/backups/jira/ocecdr/issue.145055 |
When Sharon and I try to run the Summaries Citation report, we get a
python script error message.
Volker is on the case:
The program indicates a missing CDR-ID in the SummaryCitations report
causing it to fail. The program should be modified to return with some
meaningful message and we should submit a ticket for this.
Bob/Alan, here is a bug that made it to PROD with the latest release of Ampere. I see the error on all tiers (can't check QA though since we're unable to connect to the DB). I'm seeing the following error message:
Traceback (most recent call last):
File "D:\Inetpub\wwwroot\cgi-bin\cdr\SummaryCitations.py", line 74, in <module>
.bail("Invalid CDR ID entered: %s" % cgi.escape(docId))
cdrcgiFile "D:\Python\lib\cgi.py", line 1035, in escape
= s.replace("&", "&amp;") # Must be done first!
s : 'NoneType' object has no attribute 'replace' AttributeError
It looks to me that it's a problem related to Alan's security remediation.
I forgot - you can recreate the error by running the report from the admin menu:
/OCCM Staff --> Reports
CIAT--> Summaries and Miscellaneous Documents
--> Summaries Citations
Bob/Alan, here is a bug that made it to PROD with the latest release of Ampere.
Ampere hasn't made it to PROD yet (we're only as far as QA).
Oh, right, in that case it was the latest release before Ampere that caused the problem.
This was indeed a bug I introduced. I fixed and tested it on DEV, then copied the fix to QA. When CBIIT gets QA working it can be tested there. Until then we probably have to wait for further testing since Bob has been making login authentication changes and tests on DEV that make it hard to use at this time.
The fix will be promoted to DEV when the "Mailer Hotfix" is promoted. If preferred, I can inquire about making a separate, earlier hotfix for this one file.
Hi William, Would you mind testing this on QA? I am actually off today and was going to try and do it from home but don't think I can get into the CDR from here. Thank you!
Added William and myself as watchers.
Verified on QA
Verified on Stage.
Verified on PROD.
Elapsed: 0:00:00.001606