Issue Bug Closed

#80022DateTime parse error on edit pages field newUntil

Joerg Kummer 02/25/17, 19:04 updated 10/17/17, 23:30

Description

To reproduce

  1. Create or edit a page entry, open edit form
  2. Set date for “Mark as ‘New’ Until” (tab Appearance) to past or future
  3. Save your changes
  4. Reopen this page entry for editing (fx. select from page tree)
  5. Click save+close button, without any changes

Expected result

Frame with edit form switches to the view you had opened before

Actual result

An error occurs

DateTime::__construct(): Failed to parse time string (2017-02-25T00:00:00+) at position 19 (+): Unexpected character

Field value is cutting from 25 chars (in this case) down to 20 chars:

$GLOBALS['TCA']['pages']['columns']['newUntil']['config']['max'] = 20;

Reviews 1