Issue Bug Closed

#85085CLI command cleanup:versions does not allow value for --action argument

Jonathan Daigle 05/25/18, 19:12 updated 10/02/18, 10:46

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.

Reviews 2