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

[BUGFIX] Avoid using BackendWorkspaceRestriction

When using BackendWorkspaceRestriction the DB query
fetches newly created records of ALL workspaces, not just the currently
given workspace.

For this reason it is highly discouraged to use this
restriction but use the main WorkspaceRestriction instead.

This change adapts all remaining places which especially
is relevant when having multiple NEW PLACEHOLDERs in various
workspaces to only work on the current workspace.

Resolves: #92209
Releases: master, 10.4
Change-Id: Ie8b2321270b4804fa59cef1fa712cd820242ee40
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/65582


Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarTYPO3com <noreply@typo3.com>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent d075ae6e
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