[TASK] Remove extbase table column cache
The extbase table column cache "extbase_typo3dbbackend_tablecolumns" stores all DB fields of all DB tables to detect if the TCA table contains a field named "pid". However, if a DB table has a TCA definition but no PID, then it fails at so many places. No need to execute a admin_get_fields call on every method call. (Which caches this information - ironically - in the database by default) The cache can be removed without substitution as the superfluous check on the DB field "pid" is removed. Resolves: #77411 Releases: master, 7.6 Change-Id: Ib4dca4e5f895f0e4334c26482423b833dcb773ca Reviewed-on: https://review.typo3.org/49385 Reviewed-by:Nicole Cordes <typo3@cordes.co> Tested-by:
Nicole Cordes <typo3@cordes.co> Tested-by:
Bamboo TYPO3com <info@typo3.com> Reviewed-by:
Mathias Brodala <mbrodala@pagemachine.de> Reviewed-by:
Oliver Klee <typo3-coding@oliverklee.de> Reviewed-by:
Jigal van Hemert <jigal.van.hemert@typo3.org> Tested-by:
Jigal van Hemert <jigal.van.hemert@typo3.org> Reviewed-by:
Markus Klein <markus.klein@typo3.org> Tested-by:
Markus Klein <markus.klein@typo3.org>
Showing
- typo3/sysext/core/Configuration/DefaultConfiguration.php 0 additions, 5 deletionstypo3/sysext/core/Configuration/DefaultConfiguration.php
- typo3/sysext/core/Documentation/Changelog/master/Important-77411-RemovedExtbaseTableColumnCache.rst 12 additions, 0 deletions...master/Important-77411-RemovedExtbaseTableColumnCache.rst
- typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbBackend.php 0 additions, 6 deletions...se/Classes/Persistence/Generic/Storage/Typo3DbBackend.php
- typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbQueryParser.php 27 additions, 59 deletions...lasses/Persistence/Generic/Storage/Typo3DbQueryParser.php
- typo3/sysext/extbase/Tests/Unit/Persistence/Generic/Storage/Typo3DbQueryParserTest.php 0 additions, 6 deletions...it/Persistence/Generic/Storage/Typo3DbQueryParserTest.php
- typo3/sysext/install/Classes/Service/SilentConfigurationUpgradeService.php 2 additions, 0 deletions...all/Classes/Service/SilentConfigurationUpgradeService.php
Please register or sign in to comment