Bug #51120

\TYPO3\Flow\Core\Booting::buildSubprocessCommand - wrong command if passed more than one parameters

Added by Pavlina Drosos about 8 years ago. Updated almost 8 years ago.

Status:
New
Priority:
Must have
Assignee:
-
Category:
Core
Target version:
-
Start date:
2013-08-16
Due date:
% Done:

0%

Estimated time:
PHP Version:
Has patch:
No
Complexity:

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'

No data to display

Also available in: Atom PDF