diff --git a/Build/local/composer.json b/Build/local/composer.json index f3d18b801..2db31e0a3 100644 --- a/Build/local/composer.json +++ b/Build/local/composer.json @@ -64,10 +64,11 @@ "config": { "sort-packages": true, "allow-plugins": { - "typo3/cms-composer-installers": true, - "typo3/class-alias-loader": true, + "co-stack/build-essentials": true, + "cweagans/composer-patches": true, "helhum/dotenv-connector": true, - "co-stack/build-essentials": true + "typo3/class-alias-loader": true, + "typo3/cms-composer-installers": true } }, "minimum-stability": "dev", @@ -75,14 +76,16 @@ "extra": { "typo3/cms": { "web-dir": "public" - } + }, + "patches-file": "composer.patches.json" }, "require-dev": { - "typo3/testing-framework": "^8.0", "co-stack/mysql-loader": "@dev", "co-stack/process-manager": "^3.1", "co-stack/stack-test": "@dev", - "mikey179/vfsstream": "^v1.6" + "cweagans/composer-patches": "^1.7", + "mikey179/vfsstream": "^v1.6", + "typo3/testing-framework": "^8.0" }, "autoload-dev": { "psr-4": { diff --git a/Build/local/composer.patches.json b/Build/local/composer.patches.json new file mode 100644 index 000000000..e4823fe9f --- /dev/null +++ b/Build/local/composer.patches.json @@ -0,0 +1,7 @@ +{ + "patches": { + "typo3/cms-core": { + "debug": "debug.patch" + } + } +} diff --git a/Build/local/debug.patch b/Build/local/debug.patch new file mode 100644 index 000000000..0fd6f042e --- /dev/null +++ b/Build/local/debug.patch @@ -0,0 +1,16 @@ +Index: Classes/Utility/ExtensionManagementUtility.php +IDEA additional info: +Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP +<+>UTF-8 +=================================================================== +diff --git a/Classes/Utility/ExtensionManagementUtility.php b/Classes/Utility/ExtensionManagementUtility.php +--- a/Classes/Utility/ExtensionManagementUtility.php ++++ b/Classes/Utility/ExtensionManagementUtility.php +@@ -1407,6 +1407,7 @@ + } + + $allowedRecordTypesForDefault = []; ++ \TYPO3\CMS\Extbase\Utility\DebuggerUtility::var_dump($GLOBALS['TCA'], __FILE__ . '@' . __LINE__, 20, false, true, false, [], []); + foreach ($GLOBALS['TCA'] as $table => $tableConfiguration) { + if ($tableConfiguration['ctrl']['security']['ignorePageTypeRestriction'] ?? false) { + $allowedRecordTypesForDefault[] = $table;