Issue Bug Closed

#59991Extensionmanager Method installFromTer returns error messages in wrong array structure

Sascha Egerer 06/30/14, 11:22 updated 10/02/18, 11:54

Description

The method TYPO3\CMS\Extensionmanager\Controller\DownloadController\installFromTer catches exceptions of type \TYPO3\CMS\Extensionmanager\Exception\ExtensionManagerException and stores them in an array that will be used in the return value of the function.
The array with the error messages is passed to a fluid template but it requires a different array structure then the current.

Current structure:

array(
    'extension_name' => array(
        'code' => 123
        'message' => 'test message'
    )
)

Expected structure:

array(
    'extension_name' => array(
        array (
            'code' => 123
            'message' => 'test message'
        )
    )
)

Reviews 2