CDR Tickets

Issue Number 4069
Summary Finish filtering/validating all 0 docs
Created 2016-03-31 11:55:31
Issue Type Bug
Submitted By Englisch, Volker (NIH/NCI) [C]
Assigned To Englisch, Volker (NIH/NCI) [C]
Status Closed
Resolved 2017-03-27 12:16:32
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.181567
Description

The message 'Finish filtering/validating all 0 docs' is displayed for a publishing job regardless how many documents have been processed.

The counter should display the correct number of documents processed.

Comment entered 2017-03-27 12:16:22 by Englisch, Volker (NIH/NCI) [C]

It turned out that this message Finish filtering/validating all N docs was displayed in four situations but only once correctly.

  1. As part of a publishing job based on a SQL query

  2. As part of a publishing job based on individual documents (i.e. Hot-Fix)

  3. As part of a push job based on a SQL query

  4. As part of a push job based on a Hot-fix

Only the third option was correct, for all other situations 0 docs was displayed. I'm now preventing the message from being displayed for push jobs and I'm displaying the correct number of published documents for a given job-ID based on a DB query rather than using a counter.

This is ready on DEV and I'm going to monitor the changes over the next few publishing jobs.

For my information: The changes to cdrpub.py are in the sandbox Feynman-hold.

Comment entered 2017-07-27 17:15:04 by Englisch, Volker (NIH/NCI) [C]

This (internal) change is running since March on DEV and is ready to move thru the tiers. I'm adding it to the Feynman changes.

  • R14844: cdrpub.py

Comment entered 2017-09-07 16:18:19 by Englisch, Volker (NIH/NCI) [C]

The publishing output now properly reports the number of documents published.

Closing ticket.

Elapsed: 0:00:00.001965