Issue Number | 4856 |
---|---|
Summary | [Summaries] Ambiguous QC Report Error |
Created | 2020-07-26 21:30:51 |
Issue Type | Bug |
Submitted By | Juthe, Robin (NIH/NCI) [E] |
Assigned To | Englisch, Volker (NIH/NCI) [C] |
Status | Closed |
Resolved | 2020-07-30 16:55:24 |
Resolution | Fixed |
Path | /home/bkline/backups/jira/ocecdr/issue.271080 |
I'm struggling to find out what the error is that's preventing me from generating a B/U QC report for CDR62865 on PROD.
The message reads "filtering error: Publishable version doesn't exist for". That's the end of the message. I'll post a screenshot.
Ah, found it. Had empty SummaryFragmentRef tags in the summary. Once I deleted those tags, the QC report ran.
I'll leave this open for now so we can discuss whether it's possible to improve this error message. 🙂
Well, the report did want to give you the CDR-ID for the document it was expecting a publishable version but that ID was missing as well.
We could possible modify the text string to something like
"filtering error: Publishable version doesn't exist for document
<12345>"
In your case you'd still get
"filtering error: Publishable version doesn't exist for document
<>"
as the output which might make the error a little easier to
recognize.
I see what you mean.
Alternatively, would it be possible to say something like "Empty SummaryFragmentRef tags"?
I'm going to combine both messages into:
Publishable version doesn't exist for document (), or empty SummaryRef/SummaryFragmentRef tags
If there is a CDR-ID but the publishable version is missing, the CDR-ID will be displayed within the parenthesis.
The following filter has been modified on DEV:
CDR335424.xml - Denormalization Filter: Summary
This is ready for review on DEV. I added an empty SummaryFragmentRef element to CDR62902 - of course.
The filter change has been copied to QA. The Summary QC reports have been diffed and - as expected - no changes were detected.
Please let me know if/when you'd like me to push these changes to STAGE and PROD.
This looks good on DEV.
The following filter has been copied to PROD and STAGE:
CDR335424 - Denormalization Filter: Summary
https://github.com/NCIOCPL/cdr-server/commit/922fe5a
Please verify on PROD and close this ticket.
Closing this ticket. I'll reopen if we run into the problem again.
File Name | Posted | User |
---|---|---|
QC report error.png | 2020-07-26 21:31:04 | Juthe, Robin (NIH/NCI) [E] |
Elapsed: 0:00:00.001987