[TASK] Improve method makeCategorizable to be used everywhere 67/20767/2
authorFabien Udriot <fabien.udriot@ecodev.ch>
Sun, 15 Jul 2012 23:25:22 +0000 (01:25 +0200)
committerFrancois Suter <francois@typo3.org>
Tue, 14 May 2013 09:06:15 +0000 (11:06 +0200)
commitc7b99a8c9cdd2bc266aace97ea44bc275cdf7406
tree6ac42b9ea11e8594f9ba060b13a345227300febf
parentc49dec9f767d089e7912b1016902682de1166abd
[TASK] Improve method makeCategorizable to be used everywhere

Method makeCategorizable registers a table to be categorizable in the
BE. The current implementation has the drawback to force the call of this
method after the TCA of the table. If called before, the "categorization"
wouldn't be applied because of timing issue. The patch improve the
situation by postponing the application of the TCA responsible for
categorization.

For more details about the method refer to
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::makeCategorizable.

In addition to 6.2, the Install Tool setting
[SYS][defaultCategorizedTables] is set to an empty string to avoid
requirering DB updates for minor releases.

Change-Id: I966cc65e50e0d6a81cfafb1238f253ed802349c6
Resolves: #38972
Releases: 6.2, 6.1
Reviewed-on: https://review.typo3.org/20767
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Francois Suter
Tested-by: Francois Suter
typo3/sysext/core/Classes/Category/CategoryRegistry.php
typo3/sysext/core/Classes/Core/Bootstrap.php
typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php
typo3/sysext/core/Configuration/DefaultConfiguration.php
typo3/sysext/core/Tests/Unit/Category/CategoryRegistryTest.php
typo3/sysext/core/Tests/Unit/Utility/ExtensionMangementUtilityTest.php