CDR Tickets

Issue Number 5371
Summary Global Change to update summaries date fields
Created 2025-02-12 17:27:47
Issue Type Improvement
Submitted By Osei-Poku, William (NIH/NCI) [C]
Assigned To Kline, Bob (NIH/NCI) [C]
Status Resolved
Resolved 2025-02-13 12:57:19
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.494697
Description

  I am creating this ticket more or less as a placeholder for the global. Please wait for confirmation from before running the global. As you can see below, I don't have all the information, so I expect to update or others to update the instructions. 

Please run a global change for all summaries that were made publishable from 1/22/25 until 2/12/25 on PROD.

The global change is expected to update the Date Last Modified and the manually entered date in the Title element of the Changes Section (Section Type = “Changes to summary”).

The selected summaries are expected to include

  • English and Spanish Summaries

  • HP and Patient Summaries

  • Date Last Modified, and the manually entered date are expected to have the same date

  • The date to use for both dates fields is 2/12/2025

And expected to Exclude

  • Module Only summaries

  • We don't expect this scenario but, if a date falls outside the pause dates, even if a publishable version has been created within the pause dates, do not include it in the global. We will review the summaries on PROD to make sure all the dates have been updated correctly before you run the global change on PROD.

Comment entered 2025-02-12 17:40:58 by Juthe, Robin (NIH/NCI) [E]

Let's use today's date, 2/12/2025 as the date last modified (which displays as "Updated Date" on Cancer.gov) and the Latest Updates date. 

Because we're using today's date, we can leave summaries that were made publishable today as is and only update the date for summaries that were made publishable between (and inclusive of) 1/22/2025 and 2/11/2025. But I think we turned publishing off on 1/21/2025 – at least for new documents. Is that right? Were any docs made publishable on 1/21 that should be in the queue but haven't gone live?

Comment entered 2025-02-12 18:10:55 by Osei-Poku, William (NIH/NCI) [C]

Yes, we had a couple of summaries that had failed publishing that we were about to hot-fix including this 800621 (Spanish). It looks like the English summaries were made publishable later in the week so the global would capture those summaries. You're right about publishing being turned off on 1/21.

Comment entered 2025-02-13 12:57:19 by Kline, Bob (NIH/NCI) [C]
Comment entered 2025-02-13 13:48:21 by Osei-Poku, William (NIH/NCI) [C]

Test results look good. Please run in live mode on QA. Thanks!

Comment entered 2025-02-13 15:26:34 by Kline, Bob (NIH/NCI) [C]

The live run has completed on CDR QA. The logs for the test run on the production server are at https://cdr-dev.cancer.gov/cgi-bin/cdr/ShowGlobalChangeTestResults.py?dir=2025-02-13_14-36-13.

Comment entered 2025-02-14 10:18:16 by Osei-Poku, William (NIH/NCI) [C]

Test results from PROD looks good. Please proceed to do a live run on PROD. Thanks!

Comment entered 2025-02-14 11:07:03 by Kline, Bob (NIH/NCI) [C]
Comment entered 2025-02-14 11:38:21 by Kline, Bob (NIH/NCI) [C]

Global has completed successfully in live mode on PROD.

2025-02-14 11:35:34.118 [INFO] Run completed.
   Docs examined    = 75
   Docs changed     = 50
   Versions changed = 105
   Could not lock   = 0
   Errors           = 0
   Time             = 0:14:52.824129
Specific versions saved:
  new cwd = 2
  new pub = 50
  new ver = 5
  old cwd = 15

Elapsed: 0:00:00.000357