Actions
Bug #85085
closedCLI command cleanup:versions does not allow value for --action argument
Start date:
2018-05-25
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:
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.
Actions