[BUGFIX] Generation of class information fails with DateTime
If using the class info factory to create a class information for DateTime an Exception occurs as the reflection api handles DateTime wrong when reolving constructor arguments. Therefore a custom class info has to be created. Releases: 6.2 Resolves: #49307 Change-Id: Ia463776ff992eb0c91bca84710f934ee282355e5 Reviewed-on: https://review.typo3.org/21557 Reviewed-by: Stefan Froemken Tested-by: Stefan Froemken Reviewed-by: Anja Leichsenring Tested-by: Anja Leichsenring
Showing
- typo3/sysext/extbase/Classes/Object/Container/ClassInfoFactory.php 3 additions, 0 deletions...ext/extbase/Classes/Object/Container/ClassInfoFactory.php
- typo3/sysext/extbase/Tests/Unit/Object/Container/ClassInfoFactoryTest.php 16 additions, 0 deletions...base/Tests/Unit/Object/Container/ClassInfoFactoryTest.php
Please register or sign in to comment