[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
Showing
- typo3/sysext/core/Classes/Category/CategoryRegistry.php 13 additions, 1 deletiontypo3/sysext/core/Classes/Category/CategoryRegistry.php
- typo3/sysext/core/Classes/Core/Bootstrap.php 0 additions, 3 deletionstypo3/sysext/core/Classes/Core/Bootstrap.php
- typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php 1 addition, 0 deletions...ysext/core/Classes/Utility/ExtensionManagementUtility.php
- typo3/sysext/core/Tests/Unit/Category/CategoryRegistryTest.php 67 additions, 54 deletions.../sysext/core/Tests/Unit/Category/CategoryRegistryTest.php
- typo3/sysext/core/Tests/Unit/Utility/ExtensionManagementUtilityTest.php 6 additions, 8 deletions...ore/Tests/Unit/Utility/ExtensionManagementUtilityTest.php
- typo3/sysext/core/ext_localconf.php 14 additions, 3 deletionstypo3/sysext/core/ext_localconf.php
Loading
Please register or sign in to comment