CDR Tickets

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
Description

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]

Comment entered 2023-04-25 17:07:15 by Englisch, Volker (NIH/NCI) [C]

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.

Comment entered 2023-10-06 15:08:49 by Osei-Poku, William (NIH/NCI) [C]

Verified on DEV. Thanks!

Comment entered 2023-10-19 10:01:24 by Osei-Poku, William (NIH/NCI) [C]

Verified on QA. Thanks!

Comment entered 2023-11-14 14:18:49 by Englisch, Volker (NIH/NCI) [C]

Confirming that the option is now part of the form on PROD.

Closing ticket.

Elapsed: 0:00:00.001993