Bug #85085
closedCLI command cleanup:versions does not allow value for --action argument
100%
Description
When running the new Symfony command for the versions cleanup task, a RuntimeException is thrown if a value is specified for the --action argument.
Example of command that will raise the error :
./typo3/sysext/core/bin/typo3 cleanup:versions --action="published_versions"
If the documentation is accurate, the InputOption for the action option should be VALUE_OPTIONAL instead of VALUE_NONE. We were able to execute the command properly simply after changing that.
Updated by Jonathan Daigle over 6 years ago
- Related to Task #79109: Migrate VersionsCommand to SymfonyConsole added
Updated by Simon Gilli over 6 years ago
- Status changed from New to Accepted
- Assignee set to Simon Gilli
- Target version set to next-patchlevel
- TYPO3 Version changed from 8 to 9
- Complexity set to no-brainer
Updated by Simon Gilli over 6 years ago
- Related to Bug #82653: Migrate lowlevel command for workspace cleanup added
Updated by Simon Gilli over 6 years ago
backports to 7 and 8 must be done to ext:lowlevel see https://review.typo3.org/54265
Updated by Gerrit Code Review over 6 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57055
Updated by Gerrit Code Review over 6 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57055
Updated by Gerrit Code Review over 6 years ago
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57100
Updated by Simon Gilli over 6 years ago
- Status changed from Under Review to Resolved
Applied in changeset c7989cb1c69e2794155db957f7f10559914278d2.