Project

General

Profile

Actions

Bug #94004

open

Automatic update of subpages slugs ignores columnsOverrides

Added by Stefan Terborg almost 3 years ago. Updated almost 3 years ago.

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


Related issues 2 (2 open0 closed)

Related to TYPO3 Core - Bug #94003: Automatic update of subpages slugs not working for copy of subtreeNew2021-04-28

Actions
Related to TYPO3 Core - Task #89301: Streamline automatic slug & redirects handlingAccepted2019-09-29

Actions
Actions #1

Updated by Riccardo De Contardi almost 3 years ago

  • Category set to Link Handling, Site Handling & Routing
Actions #2

Updated by Sybille Peters almost 3 years ago

  • Related to Bug #94003: Automatic update of subpages slugs not working for copy of subtree added
Actions #3

Updated by Sybille Peters almost 3 years ago

  • Related to Task #89301: Streamline automatic slug & redirects handling added
Actions

Also available in: Atom PDF