CDR Tickets

Issue Number 4670
Summary [Summary] PublishPreview Internal Link Problem
Created 2019-09-20 11:53:45
Issue Type Bug
Submitted By Englisch, Volker (NIH/NCI) [C]
Assigned To Englisch, Volker (NIH/NCI) [C]
Status Closed
Resolved 2020-01-09 11:46:26
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.250092
Description

Our PublishPreview report modifies links to allow users to test and verify that internal links, i.e. from the 'Changes to this Summary' section, are working as expected.

Victoria reported yesterday that these "internal" links are currently linking to an old, blocked version of the document.

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

As it turns out, the PP report identifies the CDR-ID from the SummaryURL attribute value in order to identify if the link is internal or external.  The link is internal if the CDR-ID of the selected document matches the current document.

Unfortunately, we have close to 200 (blocked) summary documents with the identical SummaryURL attribute value as another publishable summary.  This has the affect that - instead of creating an internal link - a link to an old, blocked document gets created.

We want to discuss if it's possible to fix this programatically.  The work around is to remove or otherwise modify the SummaryURL of the blocked document to ensure the URL of the to-be-published document is unique.

Comment entered 2019-09-20 12:08:22 by Englisch, Volker (NIH/NCI) [C]

Here is a sample of the problem sorted by SummaryURL (Jira doesn't let me enter the entire table):

 

CDR-ID

Summary URL

Summary Title

590500

 

TEMPLATE UPDATE TX Summary 6-25-07 through 3-19-08

682190

 

Título del Cáncer: Tratamiento

711847

 

Template: X Cancer Prevention

746857

 

Template Update 2/22/13

799404

 

Childhood Multiple Endocrine Neoplasia Syndromes Treatment*IN PROGRESS*

62810

http://cancer.gov/cancertopics/pdq/supportivecare/hypercalcemia/Patient

Hypercalcemia*BLOCKED*

732181

http://cancer.gov/cancertopics/pdq/supportivecare/hypercalcemia/Patient

Hypercalcemia*BLOCKED*

62780

http://cancer.gov/cancertopics/pdq/supportivecare/transitionalcare/Patient

Transitional Care Planning*BLOCKED*

425416

http://cancer.gov/cancertopics/pdq/supportivecare/transitionalcare/Patient

Transitional Care Planning VOID

62868

http://cancer.gov/cancertopics/pdq/treatment/non-hodgkins-during-pregnancy/Patient

Non-Hodgkin’s Lymphoma During Pregnancy*BLOCKED*

258024

http://cancer.gov/cancertopics/pdq/treatment/non-hodgkins-during-pregnancy/Patient

Non-Hodgkin Lymphoma Treatment During Pregnancy*BLOCKED*

256625

http://cancer.gov/espanol/pdq/cuidados-medicos-apoyo/enteritisradioterapia/Patient

Enteritis por radiación*BLOCKED*

256648

http://cancer.gov/espanol/pdq/cuidados-medicos-apoyo/enteritisradioterapia/Patient

Enteritis por radiación*BLOCKED*

256651

http://cancer.gov/espanol/pdq/cuidados-medicos-apoyo/hipercalcemia/Patient

Hipercalcemia*BLOCKED*

743227

http://cancer.gov/espanol/pdq/cuidados-medicos-apoyo/hipercalcemia/Patient

Hipercalcemia*BLOCKED*

755028

http://cancer.gov/espanol/pdq/tratamiento/primario-de-higado-adultos/HealthProfessional1

Cáncer primario de hígado en adultos: Tratamiento TEMP

770383

http://cancer.gov/espanol/pdq/tratamiento/primario-de-higado-adultos/HealthProfessional1

Cáncer primario de hígado en adultos: Tratamiento BLOCKED

777034

http://www.cancer.gov/espanol/tipos/higado/pro/tratamiento-vias-biliares-pdq1

Cáncer de vías biliares: Tratamiento TEMP

786519

http://www.cancer.gov/espanol/tipos/higado/pro/tratamiento-vias-biliares-pdq1

Cáncer de vías biliares: Tratamiento*BLOCKED*

334406

https://www.cancer.gov/

Test Summary Doc

334447

https://www.cancer.gov/

Test Patient Summary Doc

724794

https://www.cancer.gov/

Lynch Syndrome Re-org and Comprehensive Rewrite WORKING DOC

774021

https://www.cancer.gov/

Bile Duct Cancer Treatment BLOCKED

62828

https://www.cancer.gov/about-cancer/advanced-cancer/caregivers/planning/bereavement-pdq

Grief, Bereavement, and Coping With Loss

652232

https://www.cancer.gov/about-cancer/advanced-cancer/caregivers/planning/bereavement-pdq

Grief, Bereavement, and Coping With Loss*BLOCKED*

547210

https://www.cancer.gov/about-cancer/advanced-cancer/caregivers/planning/last-days-pdq

Last Hours of Life*BLOCKED*

577190

https://www.cancer.gov/about-cancer/advanced-cancer/caregivers/planning/last-days-pdq

Last Days of Life

62838

https://www.cancer.gov/about-cancer/causes-prevention/genetics/overview-pdq

Cancer Genetics Overview*BLOCKED*

517309

https://www.cancer.gov/about-cancer/causes-prevention/genetics/overview-pdq

Cancer Genetics Overview

62889

https://www.cancer.gov/about-cancer/causes-prevention/risk/tobacco/quit-smoking-pdq

Cigarette Smoking: Health Risks and How to Quit

665853

https://www.cancer.gov/about-cancer/causes-prevention/risk/tobacco/quit-smoking-pdq

Prevention and Cessation of Cigarette Smoking: Control of Tobacco Use BLOCKED

301599

https://www.cancer.gov/about-cancer/coping/day-to-day/faith-and-spirituality/spirituality-pdq

Spirituality in Cancer Care

601706

https://www.cancer.gov/about-cancer/coping/day-to-day/faith-and-spirituality/spirituality-pdq

Spirituality in Cancer Care*BLOCKED*

269124

https://www.cancer.gov/about-cancer/coping/feelings/anxiety-distress-pdq

Adjustment to Cancer: Anxiety and Distress

670099

https://www.cancer.gov/about-cancer/coping/feelings/anxiety-distress-pdq

Adjustment to Cancer: Anxiety and Distress BLOCKED

62806

https://www.cancer.gov/about-cancer/coping/feelings/depression-pdq

Depression

733401

https://www.cancer.gov/about-cancer/coping/feelings/depression-pdq

Depression*BLOCKED*

62831

https://www.cancer.gov/about-cancer/coping/survivorship/new-normal/ptsd-pdq

Cancer-Related Post-traumatic Stress

747728

https://www.cancer.gov/about-cancer/coping/survivorship/new-normal/ptsd-pdq

Cancer-Related Post-traumatic Stress BLOCKED

719565

https://www.cancer.gov/about-cancer/treatment/cam/patient/prostate-supplements-pdq

Prostate Cancer, Nutrition, and Dietary Supplements

797014

https://www.cancer.gov/about-cancer/treatment/cam/patient/prostate-supplements-pdq

Cáncer de próstata, nutrición y suplementos alimentarios*BLOCKED*

276584

https://www.cancer.gov/about-cancer/treatment/side-effects/appetite-loss/nutrition-hp-pdq

Nutrition in Cancer Care

785657

https://www.cancer.gov/about-cancer/treatment/side-effects/appetite-loss/nutrition-hp-pdq

Nutrition in Cancer Care*BLOCKED*

286996

https://www.cancer.gov/about-cancer/treatment/side-effects/appetite-loss/nutrition-pdq

Nutrition in Cancer Care

600634

https://www.cancer.gov/about-cancer/treatment/side-effects/appetite-loss/nutrition-pdq

Nutrition in Cancer Care*BLOCKED*

352193

https://www.cancer.gov/about-cancer/treatment/side-effects/cardiopulmonary-pdq

Cardiopulmonary Syndromes

651166

https://www.cancer.gov/about-cancer/treatment/side-effects/cardiopulmonary-pdq

Cardiopulmonary Syndromes*BLOCKED*

62834

https://www.cancer.gov/about-cancer/treatment/side-effects/constipation/GI-complications-pdq

Gastrointestinal Complications

665939

https://www.cancer.gov/about-cancer/treatment/side-effects/constipation/gi-complications-pdq

Gastrointestinal Complications*BLOCKED DRAFT*

730668

https://www.cancer.gov/about-cancer/treatment/side-effects/constipation/gi-complications-pdq

Gastrointestinal Complications*BLOCKED*

62811

https://www.cancer.gov/about-cancer/treatment/side-effects/fatigue/fatigue-pdq

Fatigue

661040

https://www.cancer.gov/about-cancer/treatment/side-effects/fatigue/fatigue-pdq

Fatigue*BLOCKED*

62735

https://www.cancer.gov/about-cancer/treatment/side-effects/lymphedema/lymphedema-hp-pdq

Lymphedema*BLOCKED*

598435

https://www.cancer.gov/about-cancer/treatment/side-effects/lymphedema/lymphedema-hp-pdq

Lymphedema

62799

https://www.cancer.gov/about-cancer/treatment/side-effects/lymphedema/lymphedema-pdq

Lymphedema

597842

https://www.cancer.gov/about-cancer/treatment/side-effects/lymphedema/lymphedema-pdq

Lymphedema*BLOCKED*

62826

https://www.cancer.gov/about-cancer/treatment/side-effects/memory/delirium-pdq

Delirium

743330

https://www.cancer.gov/about-cancer/treatment/side-effects/memory/delirium-pdq

Delirium*BLOCKED*

62871

https://www.cancer.gov/about-cancer/treatment/side-effects/mouth-throat/oral-complications-pdq

Oral Complications of Chemotherapy and Head/Neck Radiation

354467

https://www.cancer.gov/about-cancer/treatment/side-effects/mouth-throat/oral-complications-pdq

Oral Complications of Chemotherapy and Head/Neck Radiation*BLOCKED*

62747

https://www.cancer.gov/about-cancer/treatment/side-effects/nausea/nausea-hp-pdq

Treatment-Related Nausea and Vomiting

795732

https://www.cancer.gov/about-cancer/treatment/side-effects/nausea/nausea-hp-pdq

Náuseas y vómitos relacionados con el tratamiento *TEMP*

62804

https://www.cancer.gov/about-cancer/treatment/side-effects/nausea/nausea-pdq

Nausea and Vomiting Related to Cancer Treatment

661830

https://www.cancer.gov/about-cancer/treatment/side-effects/nausea/nausea-pdq

Nausea and Vomiting BLOCKED

62738

https://www.cancer.gov/about-cancer/treatment/side-effects/pain/pain-hp-pdq

Cancer Pain

776229

https://www.cancer.gov/about-cancer/treatment/side-effects/pain/pain-hp-pdq

Cancer Pain*BLOCKED*

62845

https://www.cancer.gov/about-cancer/treatment/side-effects/pain/pain-pdq

Cancer Pain

653319

https://www.cancer.gov/about-cancer/treatment/side-effects/pain/pain-pdq

Pain BLOCKED

62805

https://www.cancer.gov/about-cancer/treatment/side-effects/skin-nail-changes/pruritus-pdq

Pruritus

724692

https://www.cancer.gov/about-cancer/treatment/side-effects/skin-nail-changes/pruritus-pdq

Pruritus*BLOCKED*

62814

https://www.cancer.gov/about-cancer/treatment/side-effects/sleep-disorders-pdq

Sleep Disorders

692121

https://www.cancer.gov/about-cancer/treatment/side-effects/sleep-disorders-pdq

Sleep Disorders*BLOCKED*

560738

https://www.cancer.gov/espanol/cancer/cancer-avanzado/cuidadores/planificacion/etapa-final-pdq

Etapa final de la vida*BLOCKED*

584383

https://www.cancer.gov/espanol/cancer/cancer-avanzado/cuidadores/planificacion/etapa-final-pdq

Etapa final de la vida

334873

https://www.cancer.gov/espanol/cancer/sobrellevar/dia-a-dia/fe-y-espiritualidad/espiritualidad-pdq

La espiritualidad en el tratamiento del cáncer

639270

https://www.cancer.gov/espanol/cancer/sobrellevar/dia-a-dia/fe-y-espiritualidad/espiritualidad-pdq

La espiritualidad en el tratamiento del cáncer*BLOCKED*

269587

https://www.cancer.gov/espanol/cancer/sobrellevar/sentimientos/ansiedad-sufrimiento-pdq

Adaptación al cáncer: Ansiedad y sufrimiento

706888

https://www.cancer.gov/espanol/cancer/sobrellevar/sentimientos/ansiedad-sufrimiento-pdq

Adaptación al cáncer: ansiedad y sufrimiento*BLOCKED

256659

https://www.cancer.gov/espanol/cancer/sobrellevar/sentimientos/depresion-pdq

Depresión

743714

https://www.cancer.gov/espanol/cancer/sobrellevar/sentimientos/depresion-pdq

Depresión*BLOCKED*

Comment entered 2019-10-03 14:28:17 by Juthe, Robin (NIH/NCI) [E]

Volker will create a spreadsheet containing a complete list of the blocked summaries having URLs that match publishable summaries. He will add a column for the status of the document (blocked or not blocked).

 

William will find out if the summaries that have gone through the "Replace Doc" function then get blocked.

Comment entered 2019-10-04 13:55:03 by Englisch, Volker (NIH/NCI) [C]

, I've created the ad-hoc query Summaries without unique SummaryURL.  The query lists every summary for which its SummaryURL element is not unique. 

Please take a look and then we can adjust from here.  We probably want to exclude the test documents but for the first round I wanted to include everything.

Comment entered 2019-10-10 13:57:06 by Juthe, Robin (NIH/NCI) [E]

Volker will add two columns to this adhoc query to display the document status and the date last modified (system).

Comment entered 2019-10-10 15:28:53 by Englisch, Volker (NIH/NCI) [C]

I've added the audience, active_status, and last-version-saved date.

Comment entered 2020-01-09 11:46:13 by Osei-Poku, William (NIH/NCI) [C]

We decided to delete all the blocked summaries that had duplicate URL with active summaries identified by the query. I have finished deleting them from PROD.

Elapsed: 0:00:00.001363