CDR Tickets

Issue Number 5249
Summary [QC Report] Error when loading QC Report into Word
Created 2023-06-08 17:25:44
Issue Type Bug
Submitted By Englisch, Volker (NIH/NCI) [C]
Assigned To Englisch, Volker (NIH/NCI) [C]
Status Closed
Resolved 2023-06-08 17:36:50
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.348412
Description

For large documents, we have identified the best approach to copy a QC report into Word is by pasting the URL for the QC report into Word in the File -> Open -> Browse window in place of a "File name".

If a user first clicks a link in the TOC of the HTML document in order to check the display of a bolded new section, for instance, that URL will include a fragment ID, like '#_123'.  Our script to pull up the parameters for the QC report expects to see a parameter ID - an integer value - therefore the load fails because the ID is formatted incorrectly.

We want to fix this issue!

Fixing this issue, by the way takes less time than creating this ticket. 🙂

Comment entered 2023-06-08 17:36:29 by Englisch, Volker (NIH/NCI) [C]

The following file has been updated to fix the error message:

This is ready for review on DEV.

Comment entered 2023-10-06 15:40:37 by Osei-Poku, William (NIH/NCI) [C]

Hi

Can you elaborate on this issue? Is the File >Open in Word or in the Browser?

Comment entered 2023-10-06 16:03:52 by Englisch, Volker (NIH/NCI) [C]

You open Word and load the QC report by pasting the URL for the QC report in the 

   File -> Open -> Browse window where you would typically enter a file name.

Comment entered 2023-10-06 16:09:01 by Englisch, Volker (NIH/NCI) [C]

You would enter the URL here (red oval):

Comment entered 2023-10-06 16:30:48 by Osei-Poku, William (NIH/NCI) [C]

Thanks! The fragment IDs are gone but it doesn't look like the links are going to the right place. In fact, the links do not appear to go any where when I do ctrl + click

Comment entered 2023-10-06 17:03:14 by Englisch, Volker (NIH/NCI) [C]

CTRL+click?  What are you trying to test?  This ticket doesn't require to test the links in the Word document, therefore you're tests are out-of-scope.

Here is what you will have to do for testing this software change:

  • Open the summary CDR62902 (or any other)

  • Run a QC report for that summary using all default options

  • When the QC report comes up click on the link in the browser to the "Changes to This Summary" section

  • Copy the URL

  • Open Word

  • Paste the URL (as described earlier)

  • Click the "Open" button

If you do this on PROD you'll see this error message:

 

Then repeat the same on DEV, this time clicking the link to the renamed Changes-section "Latest Updates to this Summary", of course.

You will see that the document loads correctly into Word instead of giving you the above error message.

Comment entered 2023-10-06 17:11:14 by Englisch, Volker (NIH/NCI) [C]

By the way, the fragment IDs shouldn't be gone when you're loading the document.  That is the change that the QC report is still loading regardless if the URL contains a fragment ID or not.

Comment entered 2023-10-06 17:23:11 by Osei-Poku, William (NIH/NCI) [C]

Yes, opening the document worked for me. However, it was strange that the jump links didn't work but as you said that was the issue you fixed here. I am marking this as DEV verified.

Comment entered 2023-10-19 10:34:22 by Osei-Poku, William (NIH/NCI) [C]

Verified on QA. Thanks!

Comment entered 2023-11-14 15:57:45 by Englisch, Volker (NIH/NCI) [C]

Since is out this week I just went ahead and tested this ticket on PROD and it is working correctly now.

I'm closing the ticket.

This concludes our Quinn release. 👍

Attachments
File Name Posted User
Screenshot 2023-10-06 at 4.06.54 PM.png 2023-10-06 16:08:24 Englisch, Volker (NIH/NCI) [C]
Screenshot 2023-10-06 at 4.46.40 PM.png 2023-10-06 16:55:28 Englisch, Volker (NIH/NCI) [C]

Elapsed: 0:00:00.001375