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 |
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
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
strip all attributes from the documents before serialization and comparison
create a hand-made serializer
Ready for user testing on DEV.
Verified on DEV and QA.
Elapsed: 0:00:00.001352