#99755Protect uniqueness of pages-slug during workspaces
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';
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Fix this issue
Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch
- Commit message
-
[BUGFIX] Protect uniqueness of pages-slug during workspaces Resolves: #99755 Releases: main