Issue Bug Closed

#66939"Class extends DateTime" not supported by DataMapper

Stephan Schuler 05/13/15, 15:02 updated 10/02/18, 11:44

Description

Create an Extbase entity having a property of type \DateTime.
That just works, database results are mapped to \DateTime properly.

Make “\MyVeryOwnDateTimes extends \DateTime”.
Now create an Extbase entity having a property of type \MyVeryOwnDateTimes.
That doesn’t work. Database results are mapped to \DateTime as well, not to \MyVeryOwnDateTimes as expected.

By the way: I’m going to use “6.2” was TYPO3 version for two reasons.
The first is: That’s the TYPO3 version I’m currently working with, being blocked by that situation.
The second is: I do hope this really is called a bug, so it can be fixed as such without being required to wait for the next major release version.

Regards,
Stephan.

Reviews 2