Review TYPO3_7-6 Abandoned

51773[BUGFIX] Properly copy native date/datetime fields

Ludwig Rafelsberger CR 0 V 0 Easy +5 −1 updated 04/06/17, 13:19

Commit message

When copying or localizing records that contain a field which is
configured to store its value in a native db date/datetime field,
the copy does not receive the source's data: The source (which is
in some cases retrieved from the database) might come in as string like
this: '2017-01-23 01:23:45' and is subsequently interpreted as integer
(in the gmdate() method call).

The if branch is here to make sure not to affect any other code pathes,
where the input data might well be an integer.

Review

  • Code review CR 0

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V 0

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 1