Bug #91762

Update wizard pagesSlugs doesn't respect slugs TCA configuration

Added by J. Peter M. Schuler about 2 years ago. Updated over 1 year ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Install Tool
Target version:
-
Start date:
2020-07-08
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.4
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The description of the update wizard says slug generation "is done by evaluating the page title / navigation title and all of its rootline."
However in the code nav_title is never mentioned and the TCA is overridden: $fieldConfig['generatorOptions']['fields'] = ['tx_realurl_pathsegment,title'];

As the generatorOptions might easily allow using nav_title, as mentioned in the doc examples I'd suggest not overriding the field to allow e.g. to set

$GLOBALS['TCA']['pages']['columns']['slug']['config']['generatorOptions']['fields'] = [['nav_title', 'title']];

(The default value of pages.TCA is ['title'] I won't propose changing that in favor of unpredicted regressions)

Thus, I propose to delete this override and update the description to "is done by evaluating e.g. the page title and all of its rootline."

#1

Updated by Mirko Schade over 1 year ago

I have also ran in this issue. Maybe it should merge the TCA configurations. This is also in TYPO3 v10.

Also available in: Atom PDF