[BUGFIX] Make category TCA changes cacheable 24/29424/3
authorHelmut Hummel <helmut.hummel@typo3.org>
Sun, 13 Apr 2014 16:56:34 +0000 (18:56 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Tue, 15 Apr 2014 07:17:31 +0000 (09:17 +0200)
commit2b4aeefc27719e0147858f7b0c82a70249a53749
tree4fcecc4fb2610d68f5ef87bf058099398907ca33
parent344c6cc493d705fd687bc760e4d95229d45d549a
[BUGFIX] Make category TCA changes cacheable

Currently TCA changes of the category API are applied on every request
after the extTables files is included. This makes it impossible to
override the changes by third party extensions and also we do not
benefit from caching.

Instead we now use the introduced signal and apply the changes
right before caching.

With this change we also have a clear separation of
registering category field additions (in ext_localconf.php) and
applying the TCA changes while building the TCA cache.

Resolves: #57881
Releases: 6.2
Change-Id: I385c894fe13eb4cd4f8f2b4c82a9513b05308daa
Reviewed-on: https://review.typo3.org/29424
Reviewed-by: Frans Saris
Tested-by: Frans Saris
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
typo3/sysext/core/Classes/Category/CategoryRegistry.php
typo3/sysext/core/Classes/Core/Bootstrap.php
typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php
typo3/sysext/core/Tests/Unit/Category/CategoryRegistryTest.php
typo3/sysext/core/Tests/Unit/Utility/ExtensionManagementUtilityTest.php
typo3/sysext/core/ext_localconf.php