Skip to content

Commit

Permalink
[TESTS] Try to debug stuff in the pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
vertexvaar committed Dec 9, 2024
1 parent deb52f4 commit 2b3dafe
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 6 deletions.
15 changes: 9 additions & 6 deletions Build/local/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,25 +64,28 @@
"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",
"prefer-stable": true,
"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": {
Expand Down
7 changes: 7 additions & 0 deletions Build/local/composer.patches.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"patches": {
"typo3/cms-core": {
"debug": "debug.patch"
}
}
}
16 changes: 16 additions & 0 deletions Build/local/debug.patch
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit 2b3dafe

Please sign in to comment.