Actions
Bug #104178
closedSlug Creation skips field if set to readOnly
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend JavaScript
Target version:
-
Start date:
2024-06-21
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
I have news records that have a readOnly field that is filled automatically and also displayed to the user in the backend. It's just a simple text field, nothing fancy.
This field is set to be used as the slug with a fallback to the title field
$GLOBALS['TCA']['tx_news_domain_model_news']['columns']['path_segment']['config']['generatorOptions']['fields'] = [['automatically_filled', 'title']];
When the button to recalculate the slug is pressed, the automatically_filled field is skipped and the title field is used. This worked in v11.5, but not in 12.4.
This seems to have also been an issue in previous versions #90141
Actions