CDR Tickets

Issue Number 4794
Summary Some Dictionary Terms Not Displaying Definition Modal on Click
Created 2020-03-05 16:59:34
Issue Type Task
Submitted By Burack, Lindsay (NIH/NCI) [C]
Assigned To Englisch, Volker (NIH/NCI) [C]
Status Closed
Resolved 2020-03-10 15:36:51
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.257956
Description

Issue Description

Found two patient PDQ summaries with some definitions that when clicked, do nothing. This is not the case for all defined terms in the summaries; there are some that do open the definition modal for that term. But there are several definitions that are not working in these patient summaries:

https://www.cancer.gov/types/lung/patient/non-small-cell-lung-treatment-pdq
https://www.cancer.gov/types/lung/patient/small-cell-lung-treatment-pdq

Steps to reproduce the issue

  1. Go to https://www.cancer.gov/types/lung/patient/non-small-cell-lung-treatment-pdq

  2. Click on any of the following terms in the first paragraph:

    • lungs

    • bronchi

    • trachea

    • lung cancer

    • alveoli

  3. See that nothing happens

  4. On https://www.cancer.gov/types/lung/patient/small-cell-lung-treatment-pdq, the following terms also do not work as expected:

    • lungs

    • bronchi

    • trachea

    • bronchioles

    • alveoli

What's the expected result?

Comment entered 2020-03-10 15:30:43 by Englisch, Volker (NIH/NCI) [C]

I've modified the filter that creates the vendor output for Gatekeeper to remove trailing whitespace.  Actually, the function used is normalize-space() which removes extra whitespace at the beginning and end of a string and compacts multiple consecutive whitespace characters into a single one within the string.

The filter change has been tested on DEV and QA and I've hot-fixed the glossary term for lung (CDR270740) on PROD.  The definition modal now shows up for lungs.

The following filter has been updated:

, please verify on PROD.

Comment entered 2020-03-10 17:08:29 by Englisch, Volker (NIH/NCI) [C]

Please note, there will be about 20 summaries that will be updated as part of this filter change. This is because the updated filter is shared between most vendor filters.

Comment entered 2020-03-12 21:01:55 by Burack, Lindsay (NIH/NCI) [C]

Hi  - the definition modal does show up for lungs. The other terms mentioned in the description still do not work though. Does each term need to be fixed individually? How can we resolve? Thanks!

Comment entered 2020-03-13 10:23:21 by Englisch, Volker (NIH/NCI) [C]

All other terms with this problem will be picked up to be updated as part of our weekend publishing job.  Those should be fixed by around 6pm tonight.

Comment entered 2020-03-13 19:08:26 by Englisch, Volker (NIH/NCI) [C]

 , the publishing job is still running at this time but most of the broken links for the sample summary are not updated.

Please verify and close this ticket if everything looks good.

Comment entered 2020-03-26 12:37:15 by Osei-Poku, William (NIH/NCI) [C]

Verified on Cancer.gov.

Comment entered 2020-03-26 12:37:28 by Osei-Poku, William (NIH/NCI) [C]

Closing ticket.

Elapsed: 0:00:00.001238