Details
-
Story
-
Resolution: Fixed
-
High
-
1.7.8, 1.13.4, 2.5.1
-
None
Description
The current implementation of Handler and Gateway for Content contains a method for listing versions which has an argument which allows specifying the particular status of the content.
https://github.com/ezsystems/ezpublish-kernel/blob/6.7/eZ/Publish/SPI/Persistence/Content/Handler.php#L214
https://github.com/ezsystems/ezpublish-kernel/blob/6.7/eZ/Publish/Core/Persistence/Legacy/Content/TreeHandler.php#L125
Even though, ContentService::loadVesions() doesn't use it and loads all versions.
I would like to change it since it should help a lot for improving CleanupVersionsCommand performance, which has been reported by the customer as an issue recently.