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 |
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.
It turned out that this message Finish filtering/validating all N docs was displayed in four situations but only once correctly.
As part of a publishing job based on a SQL query
As part of a publishing job based on individual documents (i.e. Hot-Fix)
As part of a push job based on a SQL query
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.
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
The publishing output now properly reports the number of documents published.
Closing ticket.
Elapsed: 0:00:00.001965