Bug #104178
closedSlug Creation skips field if set to readOnly
100%
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
Updated by Georg Ringer 5 months ago
- Related to Bug #90141: Slug recreation is not availabe for generator fields that are configured as "readonly" added
Updated by Georg Ringer 5 months ago
- Related to Bug #87369: Slug generation does not work for readonly fields added
Updated by Gerrit Code Review 5 months ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84910
Updated by Gerrit Code Review 5 months ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84910
Updated by Gerrit Code Review 5 months ago
Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84959
Updated by Oliver Bartsch 5 months ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset b0c4df5de2e290ee4adad8c76373d14eb7ec46af.