Commit eefd63fe authored by Andreas Fernandez's avatar Andreas Fernandez Committed by Susanne Moog
Browse files

[BUGFIX] Load ext_localconf.php when checking TCA migrations

The "Check TCA in ext_tables.php" module in the Install Tool now loads
the ext_localconf.php per checked extension as well.

Resolves: #89713
Releases: master, 9.5
Change-Id: I55bc23611554cfb0270e1f10a7787dae058609ce
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63801


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: Susanne Moog's avatarSusanne Moog <look@susi.dev>
Reviewed-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: Susanne Moog's avatarSusanne Moog <look@susi.dev>
parent 045e4a9c
......@@ -786,6 +786,8 @@ class UpgradeController extends AbstractController
$loadTcaService->loadExtensionTablesWithoutMigration();
$baseTca = $GLOBALS['TCA'];
foreach ($this->packageManager->getActivePackages() as $package) {
$this->extensionCompatTesterLoadExtLocalconfForExtension($package);
$extensionKey = $package->getPackageKey();
$extTablesPath = $package->getPackagePath() . 'ext_tables.php';
if (@file_exists($extTablesPath)) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment