[TYPO3-mvc] Extbase Property Mapper doesn't handle DateTime yet
Stephan Reuther - development.IT
s.reuther at internet-chemnitz.de
Mon Nov 16 12:27:00 CET 2009
Hi,
i just recognized that the Property/Mapper doesn't handle DateTime objects.
setting a model's property via fluid form which is defined as DateTime
will throw an exception: "Argument 1 passed to
Tx_MyExt_Domain_Model_Order::setOrderDate() must be an instance of
DateTime, string given"
DateTime is a special data type. Not plain and no Domain Model (with
at least one "_"). So it should get it's own handling.
i checked the bug tracker at forge but didn't found this
bug/missing_feature already reported.
or am i on the wrong way and there is a much easier solution for
dateTime objects set via fluid form data?
greetings,
stephan
More information about the TYPO3-project-typo3v4mvc
mailing list