Commit 75c21c6b authored by Nikita Hovratov's avatar Nikita Hovratov Committed by Benni Mack
Browse files

[BUGFIX] Fix TCA of sys_workspace custom_stages

The TCA option "appearance" is an array, with
pre-defined configuration keys. The column
"custom_stages" of the table "sys_workspace" set a
csv value for this option. This does not work.

The configuration is now transformed into the
correct array format.

Resolves: #96437
Releases: main, 11.5, 10.4
Change-Id: I25112d7ea1ce605376d70fa2dabceddd3c121faa
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72833


Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
parent a6561904
......@@ -138,7 +138,10 @@ return [
'config' => [
'type' => 'inline',
'foreign_table' => 'sys_workspace_stage',
'appearance' => 'useSortable,expandSingle',
'appearance' => [
'useSortable' => true,
'expandSingle' => true,
],
'foreign_field' => 'parentid',
'foreign_table_field' => 'parenttable',
],
......
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