Project

General

Profile

Actions

Bug #99755

open

Protect uniqueness of pages-slug during workspaces

Added by Joerg Kummer over 2 years ago. Updated over 2 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Workspaces
Target version:
-
Start date:
2023-01-30
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Given: You edit in workspace draft mode the slug field of two pages in same page tree and level, and enter exactly the same string. Afterward you want to publish both changes into live workspace.

Expected: Instead of the same string for both slug fields is saved into live workspace, one should changed beyond. And redirects should created.

Actual: Pages get same slug-value. No redirects are created.

I read about, that unique fields should not be displayed in workspace mode anyway.
https://docs.typo3.org/c/typo3/cms-workspaces/main/en-us/Administration/Versioning/Index.html#unique-fields

TCA settings pages.columns.slug.config.eval = uniqueInSite

To avoid such conflicts, my question is, should I self configure a display condition for pages, when I load and use workspace, or could it be default value for pages TCA in TYPO3?

$GLOBALS['TCA']['pages']['columns']['slug']['displayCond'] = 'VERSION:IS:false';

Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Bug #52070: 'eval' => 'unique' and Versioning don't work as expectedNew2006-06-26

Actions
Actions #1

Updated by Joerg Kummer over 2 years ago

  • Subject changed from Prevent uniqueness of pages-slug during workspaces to Protect uniqueness of pages-slug during workspaces
Actions #2

Updated by Benni Mack 2 months ago

  • Related to Bug #52070: 'eval' => 'unique' and Versioning don't work as expected added
Actions

Also available in: Atom PDF