Project

General

Profile

Actions

Bug #80022

closed

DateTime parse error on edit pages field newUntil

Added by Joerg Kummer about 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Backend API
Target version:
Start date:
2017-02-25
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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;

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Task #78953: Custom FormDataProvider breaks with date related changesClosed2016-12-11

Actions
Related to TYPO3 Core - Task #80027: Remove TCA config 'max' on inputDateTime fieldsClosedThomas Hohn2017-02-26

Actions
Actions

Also available in: Atom PDF