Actions
Bug #98629
closedSaving a record with TCA type=slug and sys_language_uid=1 may result in duplicate slug
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2022-10-17
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
FormEngine,TCA,slug
Complexity:
Is Regression:
Sprint Focus:
Description
Usually, if a user tries to set a slug which is already used (for the given language), a warning is displayed and the slug is changed when it is save, e.g. to original-slug-1.
However, if the sys_language_uid of one record is -1 and of another, it is != -1. This does not occur, resulting in duplicates.
Can be tested with EXT:calendarize or with EXT:news: They use a field "slug" of type "slug".
https://docs.typo3.org/m/typo3/reference-tca/main/en-us/ColumnsConfig/Type/Slug/Index.html
Actions