[TASK] Improve retrieving distribution list 82/39182/3
authorNicole Cordes <typo3@cordes.co>
Sat, 2 May 2015 09:12:35 +0000 (11:12 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Sat, 2 May 2015 11:53:14 +0000 (13:53 +0200)
commit89f4ce04f88841d0f436701dc3e6e81759f3ee8b
tree2760cf011e6363c0999217b39f4b348f18af66a2
parentf3d846991bacfaaf3588a057d958b85c4cf26ce7
[TASK] Improve retrieving distribution list

If you open the "Get preconfigured distribution" extension manager
function the extension list is retrieved twice. Furthermore database
queries are executed multiple times. This patch improves retrieving the
extension list, prevents database queries and catches thrown errors to
prevent errors.

Releases: master, 6.2
Resolves: #66730
Change-Id: Ice1bd36e1233fde121bb33232f98a4e25480b0e0
Reviewed-on: http://review.typo3.org/39182
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/extensionmanager/Classes/Controller/ListController.php
typo3/sysext/extensionmanager/Classes/Task/UpdateExtensionListTask.php
typo3/sysext/extensionmanager/Classes/Utility/Repository/Helper.php