CDR Tickets

Issue Number 4358
Summary [Media] Linking unpublishable media docs to summaries
Created 2018-01-02 17:01:53
Issue Type Bug
Submitted By Osei-Poku, William (NIH/NCI) [C]
Assigned To Englisch, Volker (NIH/NCI) [C]
Status Closed
Resolved 2018-07-17 18:00:22
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.219193
Description

It appears there has been a recent change on PROD which prevents us from getting QC reports when a linked media doc in a summary does not have a publishable version. We used to be able to do link unpublishable media docs in the past. I have attached the validation message from XMetal and below is the error message from running QC reports.

<Errors> <Err>XSLT error: code: 61 msgtype:error code:61 module:Sablotron URI:cdr:CDR0000791732/lastp node:attribute 'encoding' msg:could not open document 'cdr:CDR0000791733/lastp' </Err> </Errors>

Comment entered 2018-02-20 17:08:15 by Osei-Poku, William (NIH/NCI) [C]

Just like OCECDR-4339 , the only reason we link media docs that are not publishable to summaries is for the them to display in QC reports for the Peds board and since we have not been told to stop doing that, the report may have to be fixed so that it can display images that are not publishable.

Comment entered 2018-02-20 17:10:00 by Osei-Poku, William (NIH/NCI) [C]

Moved this to the Hawking queue. Please feel free to remove it if it doesn't belong.

Comment entered 2018-03-14 12:01:54 by Englisch, Volker (NIH/NCI) [C]

, are we talking about the Media QC report or the summary RS/BU reports here?
Is there a sample media document on DEV I could use?

Comment entered 2018-03-15 12:35:39 by Osei-Poku, William (NIH/NCI) [C]

Its about the summaries RS/BU reports.

Comment entered 2018-03-30 15:45:18 by Englisch, Volker (NIH/NCI) [C]

In ticket OCECDR-4335 we have made the change to only pick up publishable versions of Media documents because marked-up caption text got published because it was versioned.
This request would revert the change we had put in place in December.

I will hold off to make these changes until we're able to discuss.

Comment entered 2018-03-30 15:54:58 by Englisch, Volker (NIH/NCI) [C]

If we're going to revert the earlier change this would be a release independent change. I'm therefore moving this ticket out of hawking.

Comment entered 2018-06-28 14:09:34 by Kline, Bob (NIH/NCI) [C]

Decided in the status meeting to add a new parameter to the denormalization filter indicating whether it is acceptable to process links to unpublishable images. The default will be "don't allow."

Comment entered 2018-07-06 14:02:41 by Englisch, Volker (NIH/NCI) [C]

, I wanted to make it clear that we're referring to unpublishable versions of images, right? We're trying to select between a publishable version and a non-publishable version of an image and not between a publishable version and the current working document, which may or may not have been versioned.

Comment entered 2018-07-09 18:04:25 by Englisch, Volker (NIH/NCI) [C]

The following filters and programs have been updated:

  • QcReport.py

  • CDR339576.xml - Module: InLine Markup Formatter

  • CDR410709.xml - Module: Multimedia Denormalization

These are in my local repository [ cdr4358-media ].

This is ready for review on DEV. I've used CDR62902 as a sample document.

Comment entered 2018-08-21 13:54:02 by Englisch, Volker (NIH/NCI) [C]

, this is ready for testing on DEV.

Comment entered 2018-09-11 16:06:03 by Osei-Poku, William (NIH/NCI) [C]

Is there supposed to be an option in the report interface to choose which one you want? I don't seem to see it on DEV.

Comment entered 2018-09-12 17:31:19 by Englisch, Volker (NIH/NCI) [C]

Is there supposed to be an option in the report interface to choose which one you want? I don't seem to see it on DEV.

Yes, there is an option to choose. Since this option only makes sense when displaying images it's only displayed when the Display Images checkbox has been selected. The ellipses has been used at the end of the label to indicate the additional hidden options.

Comment entered 2018-09-13 12:39:34 by Osei-Poku, William (NIH/NCI) [C]

Got it. Thanks!

Comment entered 2018-09-19 12:26:21 by Osei-Poku, William (NIH/NCI) [C]

Verified on DEV. Please install on QA. Thanks!

Comment entered 2018-09-20 12:01:49 by Englisch, Volker (NIH/NCI) [C]

The changes have been copied to QA for review.

The branch has been moved to github:

Comment entered 2018-09-24 13:34:36 by Osei-Poku, William (NIH/NCI) [C]

Verified on QA. Ready for PROD. Thanks!

Comment entered 2018-10-05 14:12:29 by Englisch, Volker (NIH/NCI) [C]

, while I was comparing the changes with PROD I noticed that some previous changes had been removed. I restored those changes and updated the filters on DEV and QA. Therefore, I would like you to take a quick look on QA again to ensure everything is still working as expected.

These are the latest updates on github:

Comment entered 2018-10-05 15:13:54 by Osei-Poku, William (NIH/NCI) [C]

Verified on QA again. Thanks!

Comment entered 2018-10-05 16:49:53 by Englisch, Volker (NIH/NCI) [C]

The following files have been updated on STAGE and PROD:

  • QcReport.py

  • CDR339576.xml - Module: InLine Markup Formatter

  • CDR410709.xml - Module: Multimedia Denormalization

Please verify on PROD and close this ticket.

Comment entered 2018-10-18 11:03:12 by Osei-Poku, William (NIH/NCI) [C]

Verified on PROD. Thank you!

Attachments
File Name Posted User
non publishable error.JPG 2018-01-02 17:02:08 Osei-Poku, William (NIH/NCI) [C]

Elapsed: 0:00:00.001382