Issue Bug Closed

#94004Automatic update of subpages slugs ignores columnsOverrides

Stefan Terborg 04/28/21, 07:34 updated 03/31/26, 09:00

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);
}

Reviews 1