[BUGFIX] Adapt IndexerService to new table structures
When introducing sys_file_metadata and rearranging FAL to do so some parts of the IndexerService have been forgotten. The IndexerService is now adapted to not do SQL itself anymore and to push the imagesizes to the metadata table. Resolves: #52765 Releases: 6.2 Change-Id: I692bbf26e99639d9174ce02603f19955a16cc12e Reviewed-on: https://review.typo3.org/24726 Reviewed-by: Xavier Perseguers Tested-by: Xavier Perseguers Reviewed-by: Steffen Ritter Tested-by: Steffen Ritter
Showing
- typo3/sysext/core/Classes/Resource/File.php 17 additions, 0 deletionstypo3/sysext/core/Classes/Resource/File.php
- typo3/sysext/core/Classes/Resource/Index/FileIndexRepository.php 25 additions, 12 deletions...ysext/core/Classes/Resource/Index/FileIndexRepository.php
- typo3/sysext/core/Classes/Resource/Index/MetaDataRepository.php 19 additions, 0 deletions...sysext/core/Classes/Resource/Index/MetaDataRepository.php
- typo3/sysext/core/Classes/Resource/Service/IndexerService.php 20 additions, 10 deletions...3/sysext/core/Classes/Resource/Service/IndexerService.php
- typo3/sysext/core/Classes/Utility/File/ExtendedFileUtility.php 1 addition, 1 deletion.../sysext/core/Classes/Utility/File/ExtendedFileUtility.php
- typo3/sysext/core/Tests/Unit/Resource/Service/IndexerServiceTest.php 10 additions, 14 deletions...t/core/Tests/Unit/Resource/Service/IndexerServiceTest.php
Please register or sign in to comment