[TYPO3-mvc] DateTime Parsing with features.rewrittenPropertyMapper = 1 broken?

Dennis Ahrens dennis.ahrens at googlemail.com
Wed Mar 14 14:21:55 CET 2012


Hi,

On 14.03.2012 09:20, Jacob Rasmussen wrote:
> Although my bug report isn't specifically about DateTime objects, it
> should cover the issues mentioned:
>
> http://forge.typo3.org/issues/33861

I've found a changeset [1] in FLOW3 related to the DateTimeConverter and 
backported it as a bugfix [2] for your ticket. There were no other 
changes related to other converters - the PersistenceObjectsConverter in 
FLOW3 is still throwing Exceptions on some errors - i guess this is 
supposed:

"As described in the Property Mapper reference manual, DateTimeConverter 
should only throw exceptions when detecting *developer failures*. If 
*user failures* happen, such as invalid input, an 
\TYPO3\FLOW3\Error\Error object should instead be returned, as this is 
shown to the end-user in a friendly way, and the original
form is redisplayed."

regards
Dennis

[1] 
http://git.typo3.org/FLOW3/Packages/TYPO3.FLOW3.git?a=commit;h=b47d1c61aaaf67c6d9c3379d87fe132ff7bded80
[2] https://review.typo3.org/#/c/9646/


More information about the TYPO3-project-typo3v4mvc mailing list