Skip to content
Snippets Groups Projects
Commit 60d976b0 authored by Oliver Hader's avatar Oliver Hader Committed by Benni Mack
Browse files

[BUGFIX] Correctly call BackendUtility::selectVersionsOfRecord

Issue #69135 fixed issue #60249, but introduced an invalid call
to `BackendUtility::selectVersionsOfRecord`. The scope was to
handle all versions in all workspaces (`$workspace=null`).
As a result, without patch, command 'cleanup:versions' reports
too many unused placeholder rows and the action command
'cleanup:versions --action=unused_placeholders' deletes too many.

Resolves: #92139
Related: #69135
Related: #60249
Releases: master, 10.4, 9.5
Change-Id: I4d0694d2657c9bf12a5200b6474f1ed1f083d98e
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/65508


Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarOliver Hader <oliver.hader@typo3.org>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent ff67726f
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