Skip to content
Snippets Groups Projects
Commit a79a780e authored by Benni Mack's avatar Benni Mack
Browse files

[BUGFIX] Resolve modified slugs in versioned pages of preview

This change now also fetches versioned records when
previewing a workspace, allowing to also query the
versioned records if their slug has been changed.

This extends WorkspaceRestriction to have a similar
behaviour as previously known from PageRepository (pre v8 times),
to fetch versioned records.

Resolves: #97940
Releases: main, 11.5
Change-Id: I7fe9c081d5a087bf5276510e1a915fc92b72956d
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/76355


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarNikita Hovratov <nikita.h@live.de>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarNikita Hovratov <nikita.h@live.de>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent 50e25494
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment