[BUGFIX] Fix oddities of the CategoryRegistry
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / Configuration / TcaBuildingAspect.php
index e20a396..0dd25e3 100644 (file)
@@ -54,6 +54,7 @@ class TcaBuildingAspect {
         * @return array
         */
        public function applyTcaOverrides() {
+               $this->categoryRegistry->applyTcaForPreRegisteredTables();
                foreach ($this->packageManager->getActivePackages() as $package) {
                        $tcaOverridesPathForPackage = $package->getPackagePath() . self::TCA_OVERRIDES_PATH;
                        if (is_dir($tcaOverridesPathForPackage)) {
@@ -71,7 +72,6 @@ class TcaBuildingAspect {
                        }
 
                }
-               $this->categoryRegistry->applyTca();
                return array($GLOBALS['TCA']);
        }
 }
\ No newline at end of file