[TASK] Cleanup ReferenceIndex class
* Since introduction of class ReferenceIndexUpdater each record is handled only once when updating the reference index. The record runtime cache is obsolete and can be dropped. * The $excludedTables and $excludedColumns properties are non-static now: In normal operation only one instance of ReferenceIndex class is created and used for many records, there is no point in creating hard to evict static state. * A runtime cache has been used for information derived from TCA (no db calls). This is dropped in favor of a class property. Change-Id: I5cf16e38ec8f36dfa838cdbc6591b59b463be3f9 Resolves: #93038 Releases: master Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/67076 Tested-by:Oliver Bartsch <bo@cedev.de> Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Benni Mack <benni@typo3.org>
Showing
- typo3/sysext/backend/Classes/Command/ReferenceIndexUpdateCommand.php 0 additions, 1 deletion...t/backend/Classes/Command/ReferenceIndexUpdateCommand.php
- typo3/sysext/core/Classes/DataHandling/ReferenceIndexUpdater.php 0 additions, 1 deletion...ysext/core/Classes/DataHandling/ReferenceIndexUpdater.php
- typo3/sysext/core/Classes/Database/ReferenceIndex.php 75 additions, 141 deletionstypo3/sysext/core/Classes/Database/ReferenceIndex.php
- typo3/sysext/core/Classes/Database/RelationHandler.php 0 additions, 1 deletiontypo3/sysext/core/Classes/Database/RelationHandler.php
- typo3/sysext/core/Classes/Resource/Index/FileIndexRepository.php 0 additions, 1 deletion...ysext/core/Classes/Resource/Index/FileIndexRepository.php
- typo3/sysext/core/Documentation/Changelog/master/Deprecation-93038-ReferenceIndexRuntimeCache.rst 36 additions, 0 deletions...g/master/Deprecation-93038-ReferenceIndexRuntimeCache.rst
- typo3/sysext/extbase/Classes/Persistence/Generic/Backend.php 0 additions, 1 deletiontypo3/sysext/extbase/Classes/Persistence/Generic/Backend.php
- typo3/sysext/impexp/Classes/Export.php 0 additions, 1 deletiontypo3/sysext/impexp/Classes/Export.php
- typo3/sysext/install/Classes/Updates/ReferenceIndexUpdatedPrerequisite.php 0 additions, 2 deletions...all/Classes/Updates/ReferenceIndexUpdatedPrerequisite.php
- typo3/sysext/install/Configuration/ExtensionScanner/Php/MethodCallMatcher.php 14 additions, 0 deletions.../Configuration/ExtensionScanner/Php/MethodCallMatcher.php
- typo3/sysext/lowlevel/Classes/Controller/DatabaseIntegrityController.php 0 additions, 1 deletion...wlevel/Classes/Controller/DatabaseIntegrityController.php
Please register or sign in to comment