[BUGFIX] Streamline queue objects on dependency check 76/39276/2
authorNicole Cordes <typo3@cordes.co>
Tue, 5 May 2015 10:18:05 +0000 (12:18 +0200)
committerAndreas Fernandez <typo3@scripting-base.de>
Tue, 5 May 2015 11:47:07 +0000 (13:47 +0200)
commita459f1b45454d1abb94cc7b8c435ebaca2f9da01
tree3af2c02818b27ef7dab77bc8bf27abaed0e96e10
parent1e58013251ef5f70aac469e967851bbc630a5ed2
[BUGFIX] Streamline queue objects on dependency check

The data stored in different download queues mixes arrays and objects.
Therefore you cannot loop over all queues and call functions of extension
objects. This patch streamlines all objects and make sure always objects
are returned.

Releases: master, 6.2
Resolves: #66798
Change-Id: I6eedefb614145b8645c7c52ff5daa7ad6c9c38e7
Reviewed-on: http://review.typo3.org/39276
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
typo3/sysext/extensionmanager/Classes/Domain/Model/DownloadQueue.php
typo3/sysext/extensionmanager/Classes/Service/ExtensionManagementService.php
typo3/sysext/extensionmanager/Tests/Unit/Service/ExtensionManagementServiceTest.php