Project

General

Profile

Actions

Bug #85085

closed

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

Added by Jonathan Daigle almost 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
CLI
Target version:
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.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Task #79109: Migrate VersionsCommand to SymfonyConsoleClosedBenni Mack2016-12-29

Actions
Related to TYPO3 Core - Bug #82653: Migrate lowlevel command for workspace cleanupClosedBenni Mack2017-10-03

Actions
Actions

Also available in: Atom PDF