[BUGFIX] Make ReferenceIndex caching optional 84/53384/5
authorBenni Mack <benni@typo3.org>
Mon, 3 Jul 2017 13:21:03 +0000 (15:21 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Tue, 17 Oct 2017 21:35:20 +0000 (23:35 +0200)
commit9e4766cb5fc1be3968575312a921a5962ae607d7
tree7e4b2aaf09153947ef917c09f619e6fd7a1bea8e
parent8f3f1a31a87e27f7f9cdae9fd59c4486fceb5036
[BUGFIX] Make ReferenceIndex caching optional

The runtime caches used in the ReferenceIndex class
added in TYPO3 8.7.2 should not be added by default
but included on a per-runtime basis when extensions
would use the ReferenceIndex. Otherwise this issue
might lead to side-effects.

For master/9.0 the caches are enabled by default.

Relates: #78634
Resolves: #81771
Releases: master, 8.7
Change-Id: If7ca173d93c05658bce5f57c38842555a439d2ea
Reviewed-on: https://review.typo3.org/53384
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/backend/Classes/Command/ReferenceIndexUpdateCommand.php
typo3/sysext/core/Classes/DataHandling/DataHandler.php
typo3/sysext/core/Classes/Database/ReferenceIndex.php
typo3/sysext/core/Classes/Database/RelationHandler.php
typo3/sysext/core/Classes/Resource/Index/FileIndexRepository.php
typo3/sysext/extbase/Classes/Persistence/Generic/Backend.php
typo3/sysext/impexp/Classes/Export.php
typo3/sysext/lowlevel/Classes/Controller/DatabaseIntegrityController.php