Project

General

Profile

Actions

Bug #98629

closed

Saving a record with TCA type=slug and sys_language_uid=1 may result in duplicate slug

Added by Sybille Peters about 2 years ago. Updated almost 2 years ago.

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


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #99529: Duplicate slugs with collisions using TCA type "slug" and records with sys_language_uid = -1Closed2023-01-12

Actions
Actions #1

Updated by Sybille Peters almost 2 years ago

  • Related to Bug #99529: Duplicate slugs with collisions using TCA type "slug" and records with sys_language_uid = -1 added
Actions #2

Updated by Sybille Peters almost 2 years ago

  • Status changed from New to Closed

Is duplicate with #99529. Closing

Actions

Also available in: Atom PDF