[TYPO3-mvc] extbase/fluid: validating and manipulating data before saving?

Michael Sauter mail at michaelsauter.net
Wed May 12 23:05:58 CEST 2010


On 12.05.10 20:35, Sebastian Kurfürst wrote:
> Hey Michael,
>
>> afaik this at least doesn't work in FLOW3, see
>> http://forge.typo3.org/issues/show/4268 for more information. If this
>> works in Extbase, maybe FLOW3 should be updated as well?
> I'm quite sure it works in Extbase, and I think it should also work in
> FLOW3 (the bug is already quite old).
>
> Greets,
> Sebastian

Hi Sebastian,

thanks for the info, I tried it again now. And well, it kinda works ;)
It doesn't throw an exception if you pass the string from the form to a 
DateTime property, but it doesn't convert the string to a DateTime 
property. This means you can't use the DateTime validator and need to 
convert the string to a DateTime object in the setter.

Is this different to the behaviour in extbase?

~michael


More information about the TYPO3-project-typo3v4mvc mailing list