CDR Tickets

Issue Number 4650
Summary [DIS] PublishPreview report broken for brand new documents
Created 2019-08-13 14:10:32
Issue Type Task
Submitted By Englisch, Volker (NIH/NCI) [C]
Assigned To Englisch, Volker (NIH/NCI) [C]
Status Closed
Resolved 2019-08-13 19:48:50
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.248306
Description

When a DIS that has never been published runs through the publish preview process the DateLastModified/DateFirstPublished dates do not exist as part of the document.  The dates are being inserted as part of the publishing process.  The Drupal system expects a value for these to be a date (without time stamp) and the filter is creating a value from available information in the database but the format of the date value is different from the format Drupal expects.

This is causing the PP report for all new, never before published DIS documents to fail.

Comment entered 2019-08-13 14:11:46 by Englisch, Volker (NIH/NCI) [C]

Adding and  as watchers.

Comment entered 2019-08-13 19:22:56 by Osei-Poku, William (NIH/NCI) [C]

Verified on DEV. Thanks!

Comment entered 2019-08-13 19:47:30 by Osei-Poku, William (NIH/NCI) [C]

Verified on QA. Thanks!

Comment entered 2019-08-14 11:09:29 by Englisch, Volker (NIH/NCI) [C]

The following filter has been updated on PROD:

Please verify on PROD and close this ticket.

Comment entered 2019-08-14 14:08:35 by Englisch, Volker (NIH/NCI) [C]

The changes have been merged into the github master branch.

Comment entered 2019-08-14 17:50:58 by Osei-Poku, William (NIH/NCI) [C]

Verified on PROD. Thanks!

Elapsed: 0:00:00.002635