#92487Required TCA Slug Field won't be updated after click on "recalculate"
Description
Set up a TCA Slug Field with “eval => ‘required’” works fine, but even after a click on “Recalculate URL Segment” the red exclamation mark is still there.
It will only disappear after clicking into another field and changing some thing
Reviews 3
Related issues 1
Files 4
History 614
-
Georg Ringer commented and changed status
NewClosed <span data-processor="relativetime" data-value="2025-04-08T18:57:16+00:00" > 04/08/25, 18:57 </span> -
Webadmin no-lastname-given commented and changed attached red-slug.png TYPO3 Version
1013 PHP Version7.48.4 <span data-processor="relativetime" data-value="2025-09-22T16:35:39+00:00" > 09/22/25, 16:35 </span>After updating from 11 to 13 we can say, that this problem unfortunately still exists. However, much less often than before, but unfortunately still. An editor is typing into the “Name”-field and sometimes the slug becomes red. Clicking recalculating does not do anything. You have to enter the slug field, delete one char and reenter the same char, then the field changes from red to blue.
The TCA is realy simple:
'type' => 'slug', 'generatorOptions' => [ 'fields' => ['name'], 'fieldSeparator' => '-', 'prefixParentPageSlug' => false, 'replacements' => [ '/' => '-', ], ], 'fallbackCharacter' => '-', 'eval' => 'required,uniqueInPid', 'default' => '' -
Georg Ringer commented and changed status
ClosedNeeds Feedback <span data-processor="relativetime" data-value="2025-09-22T16:47:06+00:00" > 09/22/25, 16:47 </span>thanks for your update! does this also happens with e.g. pages? are there any exceptions or JS issues in the console or maybe the ajax call still loading?
-
Webadmin no-lastname-given commented and changed attached not_ok.mov attached ok.mov <span data-processor="relativetime" data-value="2025-09-25T13:56:01+00:00" > 09/25/25, 13:56 </span>
We have found a way to reliably reproduce the problem. It always occurs when you fill in the text in the source field in one go. However, if you briefly interrupt the input, it mostly works.
The problem does not occur with pages. This is not because they are pages; rather, they do not have “required” in the “eval” TCA field. As soon as we remove the “required” in our extension, it works there as well. However, the slug will no longer be a required field.
-
Gerrit Code Review pushed patch set 1 for main to change 96505 status
Needs FeedbackUnder Review <span data-processor="relativetime" data-value="2026-10-07T19:31:48+00:00" > 10/07/26, 19:31 </span> -
Gerrit Code Review pushed patch set 2 for main to change 96505 <span data-processor="relativetime" data-value="2026-10-09T10:47:32+00:00" > 10/09/26, 10:47 </span>
-
Gerrit Code Review pushed patch set 3 for main to change 96505 <span data-processor="relativetime" data-value="2026-10-09T16:16:08+00:00" > 10/09/26, 16:16 </span>
-
Gerrit Code Review pushed patch set 4 for main to change 96505 <span data-processor="relativetime" data-value="2026-10-09T16:16:15+00:00" > 10/09/26, 16:16 </span>
-
Gerrit Code Review pushed patch set 5 for main to change 96505 <span data-processor="relativetime" data-value="2026-11-09T20:08:31+00:00" > 11/09/26, 20:08 </span>
-
Gerrit Code Review pushed patch set 6 for main to change 96505 <span data-processor="relativetime" data-value="2026-11-09T20:39:17+00:00" > 11/09/26, 20:39 </span>
-
Gerrit Code Review pushed patch set 7 for main to change 96505 <span data-processor="relativetime" data-value="2026-11-09T21:44:00+00:00" > 11/09/26, 21:44 </span>
-
Gerrit Code Review pushed patch set 1 for 14.3 to change 97481 <span data-processor="relativetime" data-value="2026-11-09T22:04:46+00:00" > 11/09/26, 22:04 </span>
-
Georg Ringer commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2026-11-10T05:35:10+00:00" > 11/10/26, 05:35 </span>Applied in changeset commit:6c5c371dbe4c61e95178a8509415c5db4379169a.
-
Benni Mack changed Related to #111390 <span data-processor="relativetime" data-value="2026-11-10T07:13:01+00:00" > 11/10/26, 07:13 </span>
Hey,
A lot of changes happend in formengine since creating this issue and I couldn’t reproduce that anymore on latest versions.
Feel free to contact me if still valid for you in v13