[BUGFIX] Ensure that formatValue for dates/times returns a string
The unit tests are adjusted to have strict type checking. The bug is actually covered with a test already, only the assertion was wrong. Resolves: #99521 Releases: main, 11.5 Change-Id: I52a1aa1a969bcc9d32df4ab6f43726bef671fe66 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77354 Tested-by:Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Oliver Klee <typo3-coding@oliverklee.de> Tested-by:
Oliver Klee <typo3-coding@oliverklee.de> Reviewed-by:
Oliver Bartsch <bo@cedev.de>
Showing
- typo3/sysext/backend/Classes/Form/Element/AbstractFormElement.php 2 additions, 1 deletion...sext/backend/Classes/Form/Element/AbstractFormElement.php
- typo3/sysext/backend/Classes/Form/Element/InputDateTimeElement.php 1 addition, 1 deletion...ext/backend/Classes/Form/Element/InputDateTimeElement.php
- typo3/sysext/backend/Tests/Unit/Form/Element/AbstractFormElementTest.php 1 addition, 1 deletion...ckend/Tests/Unit/Form/Element/AbstractFormElementTest.php
Please register or sign in to comment