Actions
Bug #94004
openAutomatic update of subpages slugs ignores columnsOverrides
Status:
New
Priority:
Should have
Assignee:
-
Category:
Link Handling, Site Handling & Routing
Target version:
-
Start date:
2021-04-28
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
When updating the slug of a parent page the slugs of the subpages are automatically changed.
But the change only uses the direct configuration in TCA:
TYPO3\CMS\Redirects\Service\SlugService L274:
$fieldConfig = $GLOBALS['TCA']['pages']['columns']['slug']['config'] ?? [];
The configuration in columnsOverrides should be considered like in TYPO3\CMS\Backend\Controller\FormSlugAjaxController L81:
$columnsOverridesConfigOfField = $GLOBALS['TCA'][$tableName]['types'][$recordType]['columnsOverrides'][$fieldName]['config'] ?? null; if ($columnsOverridesConfigOfField) { ArrayUtility::mergeRecursiveWithOverrule($fieldConfig, $columnsOverridesConfigOfField); }
Updated by Riccardo De Contardi about 3 years ago
- Category set to Link Handling, Site Handling & Routing
Updated by Sybille Peters almost 3 years ago
- Related to Bug #94003: Automatic update of subpages slugs not working for copy of subtree added
Updated by Sybille Peters almost 3 years ago
- Related to Task #89301: Streamline automatic slug & redirects handling added
Actions