Project

General

Profile

Actions

Bug #99755

open

Protect uniqueness of pages-slug during workspaces

Added by Joerg Kummer over 1 year ago. Updated over 1 year 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';
Actions #1

Updated by Joerg Kummer over 1 year ago

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

Also available in: Atom PDF