[BUGFIX] Show original error in ReflectionService exception
Instead of displaying a custom error message, let the original exception message be part of the ReflectionException to differentiate if the original class or any of the type hints has a problem. Resolves: #86742 Releases: master, 8.7 Change-Id: I215ce779812b43f8bca5e6dfd2052461686482a7 Reviewed-on: https://review.typo3.org/58730 Tested-by:TYPO3com <no-reply@typo3.com> Reviewed-by:
Susanne Moog <susanne.moog@typo3.org> Tested-by:
Susanne Moog <susanne.moog@typo3.org> Reviewed-by:
Wouter Wolters <typo3@wouterwolters.nl> Tested-by:
Sybille Peters <sypets@gmx.de> Reviewed-by:
Sybille Peters <sypets@gmx.de> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de>
Showing
- typo3/sysext/extbase/Classes/Reflection/ReflectionService.php 1 addition, 1 deletion...3/sysext/extbase/Classes/Reflection/ReflectionService.php
- typo3/sysext/extbase/Tests/Unit/Reflection/Fixture/DummyClassWithInvalidTypeHint.php 27 additions, 0 deletions...Unit/Reflection/Fixture/DummyClassWithInvalidTypeHint.php
- typo3/sysext/extbase/Tests/Unit/Reflection/ReflectionServiceTest.php 55 additions, 0 deletions...t/extbase/Tests/Unit/Reflection/ReflectionServiceTest.php
- typo3/sysext/extbase/Tests/UnitDeprecated/Reflection/Fixture/DummyClassWithAllTypesOfProperties.php 31 additions, 0 deletions...Reflection/Fixture/DummyClassWithAllTypesOfProperties.php
- typo3/sysext/extbase/Tests/UnitDeprecated/Reflection/Fixture/DummyClassWithTags.php 29 additions, 0 deletions.../UnitDeprecated/Reflection/Fixture/DummyClassWithTags.php
- typo3/sysext/extbase/Tests/UnitDeprecated/Reflection/ReflectionServiceTest.php 4 additions, 4 deletions...Tests/UnitDeprecated/Reflection/ReflectionServiceTest.php
Please register or sign in to comment