Project

General

Profile

Actions

Bug #66939

closed

"Class extends DateTime" not supported by DataMapper

Added by Stephan Schuler almost 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2015-05-13
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:

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.

Actions

Also available in: Atom PDF