[BUGFIX] Allow service aliases in ContentDataProcessor
Fetch services from the DI container and perform post-creations checks instead of checking class_exists and therefore exclude possible service aliases defined in DI. Releases: master Resolves: #95855 Resolves: #92910 Change-Id: Ic85485edc7604a92bdf72d147ad47fe79954500e Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72029 Tested-by:core-ci <typo3@b13.com> Tested-by:
Benni Mack <benni@typo3.org> Tested-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Oliver Bartsch <bo@cedev.de>
Showing
- typo3/sysext/frontend/Classes/ContentObject/ContentDataProcessor.php 44 additions, 15 deletions...t/frontend/Classes/ContentObject/ContentDataProcessor.php
- typo3/sysext/frontend/Configuration/Services.yaml 3 additions, 0 deletionstypo3/sysext/frontend/Configuration/Services.yaml
- typo3/sysext/frontend/Tests/Unit/ContentObject/ContentDataProcessorTest.php 58 additions, 3 deletions...end/Tests/Unit/ContentObject/ContentDataProcessorTest.php
- typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php 5 additions, 0 deletions...nd/Tests/Unit/ContentObject/ContentObjectRendererTest.php
- typo3/sysext/frontend/Tests/Unit/ContentObject/FluidTemplateContentObjectTest.php 37 additions, 0 deletions...sts/Unit/ContentObject/FluidTemplateContentObjectTest.php
Please register or sign in to comment