#59991Extensionmanager Method installFromTer returns error messages in wrong array structure
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'
)
)
)