CDR Tickets

Issue Number 4887
Summary [Glossary] Links within Levels Of Evidence pop ups
Created 2020-09-14 12:50:41
Issue Type Improvement
Submitted By Osei-Poku, William (NIH/NCI) [C]
Assigned To Englisch, Volker (NIH/NCI) [C]
Status Closed
Resolved 2020-11-17 14:17:33
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.274703
Description

Sometimes, links are created within LOE definitions "See …." but the links are dead within the definitions in pop up. This is probably intentional but I wanted to make sure this really the case. 

Example summary: 62898

 

Comment entered 2020-09-14 22:05:03 by Englisch, Volker (NIH/NCI) [C]

but the links are dead within the definitions in pop up

This is not exactly correct.  A dead link would be text within an anchor tag which has been disabled or a link that's pointing to a page that doesn't exist.  In this case, however, there is no link created.  The text that is displayed as a link within the GTC document is correctly produced by the vendor filter.  I would have to find out where the link gets dropped further downstream.

Comment entered 2020-09-15 15:50:03 by Englisch, Volker (NIH/NCI) [C]

The filter that's taking the CDR vendor output and converts it for the load to ElasticSearch (CDR800355) has been written to only extract the text of the definition.  If I remember correctly that was based on the original requirements.

Comment entered 2020-09-17 15:22:10 by Kline, Bob (NIH/NCI) [C]

This requirement is in the app module documentation. We will talk with Amy at next week's meeting about what's involved in getting the requirement changed so the markup is preserved.

Comment entered 2020-09-24 14:04:34 by Juthe, Robin (NIH/NCI) [E]

Requirements need to be modified to preserve markup in order to convert these ExternalRefs into an HTML link in the HTML version of the definition.

Comment entered 2020-09-24 21:51:11 by Englisch, Volker (NIH/NCI) [C]

It turns out the LOE links are created via SummaryRef elements which were not included in the conversion document to be transformed into HTML anchor tags.  This is a CDR task, so I'm moving this ticket to Maxwell.

Comment entered 2020-10-16 18:19:35 by Englisch, Volker (NIH/NCI) [C]

The following filter has been updated to include the links to LOEs and external links in glossary definition text:

It is difficult to review this on DEV.  I am therefore attaching a screenshot to show the result.

Comment entered 2020-10-21 09:28:43 by Osei-Poku, William (NIH/NCI) [C]

Verified on DEV. Thanks!

Comment entered 2020-11-16 09:38:37 by Osei-Poku, William (NIH/NCI) [C]

Verified on QA. Thanks!

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

I am unable to generate Pub preview for summaries on QA. I get a "Failure generating preview: Not Found" error.

Comment entered 2020-11-17 11:07:23 by Kline, Bob (NIH/NCI) [C]

Please give it another try. The test Drupal CMS was in the middle of a rebuild.

Comment entered 2020-11-17 11:39:12 by Osei-Poku, William (NIH/NCI) [C]

I am now getting: "Failure generating preview: Forbidden" error. I restarted XMetal but got same error message.

Comment entered 2020-11-17 13:23:12 by Kline, Bob (NIH/NCI) [C]

The PDQ Drupal account's password got changed. Fixed now.

Comment entered 2020-11-17 14:17:20 by Osei-Poku, William (NIH/NCI) [C]

It seems to be working now. Thanks!

Comment entered 2020-11-30 11:24:16 by Osei-Poku, William (NIH/NCI) [C]

 How can we test this on QA? I don't see the changes in PP.

Comment entered 2020-11-30 21:49:12 by Englisch, Volker (NIH/NCI) [C]

In order to test this I will have to make some temporary configuration changes but I can only do those in coordination with the Drupal team or for a short time.  Let me know a time that would work for you and we can maybe make those changes for a short time to test.

Comment entered 2020-12-01 11:08:16 by Osei-Poku, William (NIH/NCI) [C]

I am ready. Let me know when it is ready to test. Thanks!

Comment entered 2020-12-01 16:51:48 by Osei-Poku, William (NIH/NCI) [C]

Verified on QA. Thanks!

Comment entered 2020-12-16 13:54:02 by Osei-Poku, William (NIH/NCI) [C]

Verified on Cancer.gov Thanks!

Attachments
File Name Posted User
level of evidence links.PNG 2020-09-14 12:51:53 Osei-Poku, William (NIH/NCI) [C]
Screen Shot 2020-10-16 at 5.26.58 PM.png 2020-10-16 18:19:28 Englisch, Volker (NIH/NCI) [C]

Elapsed: 0:00:00.001439