[BUGFIX] Fix TCA overrides when not cached 61/29561/2
authorHelmut Hummel <helmut.hummel@typo3.org>
Fri, 18 Apr 2014 19:08:46 +0000 (21:08 +0200)
committerHelmut Hummel <helmut.hummel@typo3.org>
Fri, 18 Apr 2014 19:30:47 +0000 (21:30 +0200)
The TCA overrides are only parsed when the cache is built.
But they also need to be parsed if the bootstrap
requests an uncached load.

Move the signal to loadBaseTca to accomplish this.

Resolves: #58039
Releases: 6.2
Change-Id: I17b871060ec11ce044d8e09b5acfe8d20a36a5e8
Reviewed-on: https://review.typo3.org/29561
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-by: Jigal van Hemert
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php

index af590ca..8a64e09 100644 (file)
@@ -1599,7 +1599,6 @@ tt_content.' . $key . $prefix . ' {
                                $GLOBALS['TCA'] = unserialize(substr($codeCache->get($cacheIdentifier), 6, -2));
                        } else {
                                static::buildBaseTcaFromSingleFiles();
-                               static::emitTcaIsBeingBuiltSignal($GLOBALS['TCA']);
                                static::createBaseTcaCacheFile();
                        }
                } else {
@@ -1638,6 +1637,8 @@ tt_content.' . $key . $prefix . ' {
                                }
                        }
                }
+
+               static::emitTcaIsBeingBuiltSignal($GLOBALS['TCA']);
        }
 
        /**