[TASK] Remove extbase table column cache 96/49396/3
authorBenni Mack <benni@typo3.org>
Thu, 4 Aug 2016 15:17:04 +0000 (17:17 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 5 Aug 2016 20:07:39 +0000 (22:07 +0200)
commitca3529c3b4adacf12496612a51b19d6d6e9cca0e
treeb66f423f79ba9f2efa8fdee133f4108b12751f2c
parent6211329b6e3b43021c2ea00d0b3798503be0c2ff
[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/49396
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Configuration/DefaultConfiguration.php
typo3/sysext/core/Documentation/Changelog/master/Important-77411-RemovedExtbaseTableColumnCache.rst [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbBackend.php
typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbQueryParser.php
typo3/sysext/extbase/Tests/Unit/Persistence/Generic/Storage/Typo3DbQueryParserTest.php
typo3/sysext/install/Classes/Service/SilentConfigurationUpgradeService.php