Issue Number | 5211 |
---|---|
Summary | Filter Misc. Document - Missing Display Option |
Created | 2023-02-24 17:35:14 |
Issue Type | Bug |
Submitted By | Englisch, Volker (NIH/NCI) [C] |
Assigned To | Englisch, Volker (NIH/NCI) [C] |
Status | Closed |
Resolved | 2023-04-25 17:07:39 |
Resolution | Fixed |
Path | /home/bkline/backups/jira/ocecdr/issue.339468 |
When using the Filter.py to filter a document of the type MiscellenousDocument which includes the MediaLink element, the filter process fails for the default filter set "QC MiscellaneousDocument Set" with an lxml error returned: Undefined variable
The user interface needs to submit an additional display option:
DisplayImages=[Y | N]
A MiscellenousDocument with a MediaLink element (CDR806250) would fail to create a QC report while a MiscellenousDocument without MediaLink element (CDR806249) work work OK. The filter changes to allow additional elements to be used require passing along the DisplayImages option.
The following files have been updated in the inetpub directory:
CdrFilter.html
Filter.py
https://github.com/NCIOCPL/cdr-admin/commit/065b198
The changes have been implemented and tested on DEV.
Verified on DEV. Thanks!
Verified on QA. Thanks!
Confirming that the option is now part of the form on PROD.
Closing ticket.
Elapsed: 0:00:00.001993