Project

General

Profile

Actions

Bug #104178

closed

Slug Creation skips field if set to readOnly

Added by Andreas Kießling 5 months ago. Updated 5 months ago.

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


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #90141: Slug recreation is not availabe for generator fields that are configured as "readonly"Closed2020-01-17

Actions
Related to TYPO3 Core - Bug #87369: Slug generation does not work for readonly fieldsClosed2019-01-08

Actions
Actions

Also available in: Atom PDF