[BUGFIX] Fix FAL meta data extraction priorities
File meta data extractors have to provide an execution priority and a data priority. The execution priority, which was previously ignored, is now respected and extractors are ordered accordingly in ExtractorRegistry. Extractors with the same data priority can now provide data, while the data was overwritten previously. ExtractorRegistry::getExtractorsWithDriverSupport now returns a flat array of extractors again, not a nested one like introduced in #64942, just like annotated. Because this fix might change the order of the execution of extractors, it can be considered slightly breaking, thus TYPO3 11.5 is not targeted. Related: #64942 Related: #56727 Resolves: #92643 Releases: main Change-Id: I2a54709ba8a389e668b37e6003695ba3316968eb Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/66232 Tested-by:core-ci <typo3@b13.com> Tested-by:
Markus Klein <markus.klein@typo3.org> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Markus Klein <markus.klein@typo3.org> Reviewed-by:
Benni Mack <benni@typo3.org>
Showing
- Build/phpstan/phpstan-baseline.neon 0 additions, 15 deletionsBuild/phpstan/phpstan-baseline.neon
- typo3/sysext/core/Classes/Resource/Index/ExtractorRegistry.php 8 additions, 13 deletions.../sysext/core/Classes/Resource/Index/ExtractorRegistry.php
- typo3/sysext/core/Classes/Resource/Service/ExtractorService.php 13 additions, 8 deletions...sysext/core/Classes/Resource/Service/ExtractorService.php
- typo3/sysext/core/Tests/Unit/Resource/Index/ExtractorRegistryTest.php 71 additions, 8 deletions.../core/Tests/Unit/Resource/Index/ExtractorRegistryTest.php
- typo3/sysext/core/Tests/Unit/Resource/Service/ExtractorServiceTest.php 129 additions, 0 deletions...core/Tests/Unit/Resource/Service/ExtractorServiceTest.php
Please register or sign in to comment