CDR Tickets

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
Description

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.

Comment entered 2016-11-02 10:52:38 by Kline, Bob (NIH/NCI) [C]

Notes to programmer:

  1. use Page class for forms (current version will break if non-ASCII characters encountered in titles or elsewhere)

  2. use XML tools for altering the document instead of fragile string manipulation

  3. 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)

Comment entered 2016-12-09 09:39:02 by Kline, Bob (NIH/NCI) [C]

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.

Comment entered 2016-12-09 17:23:41 by Kline, Bob (NIH/NCI) [C]

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.

Comment entered 2016-12-14 15:19:09 by Osei-Poku, William (NIH/NCI) [C]

Verified on DEV. This appears to be working correctly but will do more testing.

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

Verified on Qa.

Elapsed: 0:00:00.001440