Issue Number | 4178 |
---|---|
Summary | Modify Replace Doc With New Doc tool |
Created | 2016-10-26 14:36:42 |
Issue Type | Improvement |
Submitted By | Osei-Poku, William (NIH/NCI) [C] |
Assigned To | Kline, Bob (NIH/NCI) [C] |
Status | Closed |
Resolved | 2016-12-09 17:23:41 |
Resolution | Fixed |
Path | /home/bkline/backups/jira/ocecdr/issue.197146 |
Please modify the "Replace Doc with New Doc" tool to swap the CDR ID of the Temp/new summary that is part of the ReferencedTableNumber and ReferencedFigureNumber fragments (attributes) with the original summary CDR ID, after the replacement. A similar change was done in OCECDR-3580 a while back. Currently, when a replace doc process is done, the fragments retain the CDR ID of the temp document. Users have to manually replace the CDR IDs before publishing the document.
Notes to programmer:
use Page class for forms (current version will break if non-ASCII characters encountered in titles or elsewhere)
use XML tools for altering the document instead of fragile string manipulation
resolve discrepancy between on-screen documentation which says the new (copied) document will be marked as deleted and the software, which marks that document as inactive (blocked)
resolve discrepancy between on-screen documentation which says the new (copied) document will be marked as deleted and the software, which marks that document as inactive (blocked)
I need to know whether the documentation or the software is correct.
Modification implemented on DEV. I didn't do a complete rewrite, using the new Form classes, but the changes are extensive, with some bugs fixed, so serious testing is needed.
Verified on DEV. This appears to be working correctly but will do more testing.
Verified on Qa.
Elapsed: 0:00:00.001440