CDR Tickets

Issue Number 4118
Summary GP Mailers Submitted with ID changes only
Created 2016-06-09 12:24:21
Issue Type Bug
Submitted By Osei-Poku, William (NIH/NCI) [C]
Assigned To Kline, Bob (NIH/NCI) [C]
Status Closed
Resolved 2016-12-08 11:54:44
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.185822
Description

We have been receiving GP Mailers which have been marked as having changes but the only changes are the ID changes (GP tracker ID and the CDR ID) which users can't change. The IDs have only been switched around. This poses a problem because they have been marked as having changes but there are really no administrative changes to be made.

Here is one example:

https://gpmailers.cancer.gov/cgi-bin/ShowGPChanges.py?id=781476

Comment entered 2016-11-01 11:52:46 by Kline, Bob (NIH/NCI) [C]

There doesn't seem to be an easy way to fix this problem, because the XML parser package (lxml) does not expose a way to the control the output of the order of attributes. The two approaches available would be

  1. strip all attributes from the documents before serialization and comparison

  2. create a hand-made serializer

Comment entered 2016-12-08 11:54:44 by Kline, Bob (NIH/NCI) [C]

Ready for user testing on DEV.

Comment entered 2017-01-12 11:50:56 by Osei-Poku, William (NIH/NCI) [C]

Verified on DEV and QA.

Elapsed: 0:00:00.001352