Bug #99755
openProtect uniqueness of pages-slug during workspaces
0%
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';