Draft submissions have no completed date, but when you export these submissions, an incorrect value is shown.

It should show an empty cell in the data dump (using excel) but currently it's being evaluated by the date function, which fails, an returns Dec 31, 1969 date.

Previous issue, which I added as a parent, resolved evaluating the completed date to an actual date format.

My end users downloads draft submissions as well and error was found.

I attached a snapshot as an example.

CommentFileSizeAuthor
#2 3007499-2.patch814 bytesasierrajr
incorrect_date_draft.png122.63 KBasierrajr

Comments

asierrajr created an issue. See original summary.

asierrajr’s picture

StatusFileSize
new814 bytes

I added a patch to resolve this issue.

Please review

  • jrockowitz committed 076964b on 8.x-5.x authored by asierrajr
    Issue #3007499 by asierrajr: Empty completed date on draft submissions...
jrockowitz’s picture

Status: Needs review » Fixed

@asierrajr Thanks for the patch.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.