Bug #51120
\TYPO3\Flow\Core\Booting::buildSubprocessCommand - wrong command if passed more than one parameters
Status: | New | Start date: | 2013-08-16 | |
---|---|---|---|---|
Priority: | Must have | Due date: | ||
Assigned To: | - | % Done: | 0% |
|
Category: | Core | |||
Target version: | - | |||
PHP Version: | Complexity: | |||
Has patch: | No | Affected Flow version: | Flow 2.0.0 |
Description
Method \TYPO3\Flow\Core\Booting::buildSubprocessCommand does not generate a correct command name when more that one command arguments are passed.
The error look like this:
Uncaught exception #1309971820 in line 123 of /Data/Temporary/Development/Cache/Code/Flow_Object_Classes/TYPO3_Flow_Cli_RequestBuilder.php: Unexpected unnamed argument "param2". If you use named arguments, all required arguments must be passed named.
The generated command looks like this:
/path/to/flow.php my.package:controller:command '--paramname1' 'param1''--paramname2' 'param2'
A space is missing between 'param1' and '--paramname2'