Bug #46073
Scripts::executeCommand must be usable outsite of TYPO3.Flow
Status: | Under Review | Start date: | 2013-03-06 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | - | % Done: | 0% |
|
Category: | - | |||
Target version: | - | |||
PHP Version: | Complexity: | |||
Has patch: | No | Affected Flow version: | Git master |
Description
On line 546:
$subRequestEnvironmentVariables = array( 'FLOW_ROOTPATH' => FLOW_PATH_ROOT, 'FLOW_CONTEXT' => $settings['core']['context'] );
$settings['core']['context'] can be non existant in the context of other package (other than TYPO3.Flow)
Those line solve the issue:
if (!isset($settings['core']['context']) && isset($settings['TYPO3']['Flow']) && is_array($settings['TYPO3']['Flow'])) { $settings = $settings['TYPO3']['Flow']; }
Patch is coming
History
#1 Updated by Gerrit Code Review over 2 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18759