Bug #36996

DateTimeConverter

Added by Matthias Witte about 3 years ago. Updated over 1 year ago.

Status:Closed Start date:2012-05-09
Priority:Must have Due date:
Assigned To:- % Done:

0%

Category:-
Target version:-
PHP Version: Complexity:
Has patch:No Affected Flow version:FLOW3 1.0.4

Description

TYPO3.FLOW3/Classes/Property/TypeConverter

return new \TYPO3\FLOW3\Validation\Error('The date "%s" was not recognized (for format "%s").', 1307719788, array($dateAsString, $dateFormat));

At this position there should be thrown an Exception and returned NULL instead.

Something like:

throw new \TYPO3\FLOW3\Property\Exception\TypeConverterException(...
return NULL;


Related issues

related to TYPO3.Flow - Feature #37294: Property converters should allow NULL results Closed 2012-05-19

History

#1 Updated by Adrian Föder about 3 years ago

  • Status changed from New to Closed

as of http://git.typo3.org/FLOW3/Packages/TYPO3.FLOW3.git?a=commit;h=b47d1c61aaaf67c6d9c3379d87fe132ff7bded80 this is so far intended behavior. Please join the related issue if you have further comments on this.

Also available in: Atom PDF