CDR Tickets

Issue Number 4021
Summary Update trial status "Approved-not yet active" to "Not yet active"
Created 2016-02-04 12:29:06
Issue Type Improvement
Submitted By henryec
Assigned To Kline, Bob (NIH/NCI) [C]
Status Closed
Resolved 2016-03-24 15:29:35
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.178313
Description

Please refer to the mapping chart on Collaborate: https://collaborate.nci.nih.gov/display/NCTSP/Prototype+Implementation+Notes

We want to change the "Approved-not yet active" status to say only "Not yet active"

Needless to say, please make sure this change doesn't cause an issue with some other functionality in the CDR system!

We want this change to go out as soon as the schedule allows (i.e. outside of the CDR Darwin Release).

Comment entered 2016-02-25 13:44:48 by Kline, Bob (NIH/NCI) [C]

: Can you make sure Lakshmi has this on her radar. We need to know if this can go into Darwin, or if it is a more urgent need.

Comment entered 2016-02-25 14:59:58 by henryec

Lakshmi has asked for this to go outside of Darwin as it is more urgent.

Comment entered 2016-02-25 16:10:05 by Kline, Bob (NIH/NCI) [C]

Thanks; will push this to the front of the queue.

Comment entered 2016-02-26 13:03:05 by Kline, Bob (NIH/NCI) [C]

The plan:

  • go through the 66 files in Subversion in which the string "Approved-not yet active" appears, and determine which ones will need to be modified (see attached spreadsheet)

  • create a new branch from trunk and make those modifications on DEV

  • run a download job with the option to queue everything in scope for import and run the import; if that doesn't work (can't see why it wouldn't), write a global change script

  • test download, import, publication, etc.

  • promote up the tiers

  • fold the branch back into trunk

  • merge the changes from trunk to Darwin

All of this has to be coordinated with the WCMS team, to make sure any required changes get made and tested on their end.

Comment entered 2016-03-11 15:37:20 by Kline, Bob (NIH/NCI) [C]

Deployment steps (including OCECDR-4044, which is being folded in for deployment as part of this patch).

  1. Give CBIIT script for installing patched scripts/modules:

    • /cdr/Utilities/ImportCTGovProtocols.py

    • /cdr/lib/Python/CdrLongReports.py

    • /Inetpub/wwwroot/cgi-bin/cdr/Request4821.py

    • /Inetpub/wwwroot/cgi-bin/cdr/SummariesWithProtocolLinks.py

  2. Wait for confirmation that CBIIT has run the script

  3. Install modified CTGovProtocol schema

    python SANDBOX/bin/UpdateSchemas.py UID PWD SANDBOX/Schemas/CTGovProtocol.xml
  4. Install modified Primary publishing control document

    python SANDBOX/DevTools/Utilities/UpdatePubControlDoc.py -v Y -p Y -c "R13732 (OCECDR-4021): trial status change" UID PWD SANDBOX/Publishing/Primary.xml
  5. Install modified filters:

    python SANDBOX/DevTools/Utilities/UpdateFilter.py UID PWD SANDBOX/Filters/CDR0000349690.xml
    python SANDBOX/DevTools/Utilities/UpdateFilter.py UID PWD SANDBOX/Filters/CDR0000685090.xml
  6. Turn on the "CTRP force reimport" flag

    python SANDBOX/DevTools/Utilities/turn-on-ctrp-force-reimport.py CDR-SESSION-ID "Start deployment for OCECDR-4021"
  7. After next overnight download/import jobs, verify the changes in the protocol documents:

    • "Approved-not yet active" status replaced by "Not yet active"

    • Correct flagging of NIH Clinical Center trials

  8. Turn off the "CTRP force reimport" flag

    python SANDBOX/DevTools/Utilities/turn-off-ctrp-force-reimport.py CDR-SESSION-ID "End deployment for OCECDR-4021"

    We'll deploy on STAGE first, then PROD. We've already tested on QA. The DEV tier will get these changes only after they have been merged back into trunk, and from there into Darwin.

Comment entered 2016-03-11 16:31:02 by Kline, Bob (NIH/NCI) [C]

The wheels are in motion for step #1 on STAGE:

https://tracker.nci.nih.gov/browse/WEBTEAM-8225

Seth has picked up the ticket already.

Comment entered 2016-03-11 16:52:20 by Kline, Bob (NIH/NCI) [C]

Deployment steps replicated in Collaborate in checklist format:

https://collaborate.nci.nih.gov/pages/viewpage.action?pageId=158697845

[EDIT: Well, that was a waste of time - the checkboxes don't print. :-) ]

Comment entered 2016-03-24 15:29:35 by Kline, Bob (NIH/NCI) [C]

This is in production.

Attachments
File Name Posted User
OCECDR-4021.xlsx 2016-02-26 13:03:05 Kline, Bob (NIH/NCI) [C]

Elapsed: 0:00:00.002019