Breaking: #79109 - Lowlevel VersionsCommand parameters changed
See forge#79109
Description
The existing CLI command within EXT:lowlevel for showing and cleaning up versions (from EXT:version / EXT:workspaces) has been migrated to a Symfony Console command.
The command previously available via ./
is now available
via ./
and allows the following CLI options to be set:
The following options can be set:
-
--
to clean up versioned records, one of the following actions are possible:action= {nameofaction} - "versions_in_live": Delete versioned records in the live workspace
- "published_versions": Delete versions of published records
- "invalid_workspace": Move records inside a non-existing workspace ID into the live workspace
- "unused_placeholders": Remove placeholders which are not used anymore from the database
-v
and-vv
to show more detailed information on the records affected--
orpid=23 -p=23
to only find versions with page ID 23 (otherwise "0" is taken)--
ordepth=4 -d=4
to only clean recursively until a certain page tree level.--
to only show the records to be changed / deleteddry- run
The PHP class of the old CLI command \TYPO3\
has been removed.
Impact
Calling the old CLI command ./
will result in an error message.
Affected Installations
Any TYPO3 instances using the lowlevel cleaner for finding and cleaning up versioned records.
Migration
Update the CLI call on your servers to the new command line and available options as shown above.