Project

General

Profile

Actions

Bug #59991

closed

Extensionmanager Method installFromTer returns error messages in wrong array structure

Added by Sascha Egerer over 10 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extension Manager
Target version:
Start date:
2014-06-30
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.5
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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'
        )
    )
)


Files

current.png (63.1 KB) current.png Sascha Egerer, 2014-07-01 16:38
expected.png (68.9 KB) expected.png Sascha Egerer, 2014-07-01 16:38
Actions

Also available in: Atom PDF