CDR Tickets

Issue Number 4513
Summary Advanced search result links to Person & Org QC reports broken
Created 2018-08-08 18:39:32
Issue Type New Feature
Submitted By Osei-Poku, William (NIH/NCI) [C]
Assigned To Englisch, Volker (NIH/NCI) [C]
Status Closed
Resolved 2018-08-29 18:18:06
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.230662
Description

When you do advanced searches for Person and Org records, the links to the respective QC reports appear to go to a filter/xml page instead of the html QC report. This happens on all tiers.

Comment entered 2018-08-23 14:09:43 by Kline, Bob (NIH/NCI) [C]

We talked with William in last week's status meeting, and he confirmed that the Person and Org QC reports are still needed.

Comment entered 2018-08-29 12:08:45 by Englisch, Volker (NIH/NCI) [C]

We did ask the question in OCECDR-4404 if those two filter sets could be removed but it appears I didn't get an answer to it.

There were two deleted filters that needed to be restored:

  • CDR000096 - Person QC Report Filter

  • CDR000099 - Denormalization Filter (1/1): Person

There were four deleted filter sets that needed to be recreated:

  • QC Person Set with the members

    • Denormalization Person Set

    • CDR0000000096: Person QC Report Filter

  • Denormalization Person Set with the members

    • CDR0000000099: Denormalization Filter (1/1): Person

    • CDR0000315572: Copy XML for Person

    • CDR0000320534: Remove Parent OrganizationName for Person

    • CDR0000315450: Sort OrganizationName for Postal Address - Person

  • QC Organization Set with the members

    • Denormalization Organization Set

    • CDR0000000050: Organization QC Report Filter

  • Denormalization Organization Set with the members

    • CDR0000000100: Denormalization Filter (1/1): Organization

    • CDR0000315594: Copy XML for Organization

    • CDR0000315593: Sort OrganizationName for Postal Address - Organization

In addition I needed to make a small change to the following file:

  • cdr.py

This has been installed on DEV and is ready for review.

Comment entered 2018-08-29 12:26:52 by Englisch, Volker (NIH/NCI) [C]

These changes are in my local sandbox:

  • cdr-lib [ cdr4513-org]

  • cdr-server [ cdr4513-org]

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

Verified on DEV. Thanks!

Comment entered 2018-09-12 13:09:15 by Englisch, Volker (NIH/NCI) [C]

Since both, OCECDR-4517 and this ticket include modifications to the program cdr.py we should try to have both tickets fixed on PROD at the same time.

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

You can install this fix on QA.

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

The changes have been setup on QA.
Please verify on QA.

Comment entered 2018-09-12 14:51:59 by Englisch, Volker (NIH/NCI) [C]

The following script will restore the missing filter documents in the database:

UPDATE all_docs SET active_status = 'A'
 WHERE id IN (50, 96, 99, 100, 315593, 315594) 
   AND active_status = 'D'
Comment entered 2018-09-12 15:42:28 by Osei-Poku, William (NIH/NCI) [C]

Verified on QA.

There are some organizations with links to Persons that have been deleted as a result of the database cleanup global. The QC reports for those orgs don't work. You get filtering error: Unable to resolve uri u'CDR0000415887/last'

Removing the links to the non existent person records make the Org QC reports work. I don't think it is a big deal but I will report the problem in the appropriate ticket.

Comment entered 2018-09-14 11:04:21 by Englisch, Volker (NIH/NCI) [C]

The filters have been restored on STAGE and PROD and the filter sets have been recreated.

I will still need to submit a ticket to have CBIIT to update the file cdr.py on the upper tier servers before these reports are working again.

Comment entered 2018-09-14 16:05:32 by Englisch, Volker (NIH/NCI) [C]

The changes have been copied to STAGE and PROD:

Please verify on PROD and close this ticket.

Comment entered 2018-10-09 14:50:21 by Osei-Poku, William (NIH/NCI) [C]

Verified on PROD. Thanks!

Attachments
File Name Posted User
advanced search qc report.JPG 2018-08-08 18:38:22 Osei-Poku, William (NIH/NCI) [C]

Elapsed: 0:00:00.001888