[BUGFIX] Store dependency errors before further dependency tests 86/38686/4
authorNicole Cordes <typo3@cordes.co>
Tue, 14 Apr 2015 09:10:11 +0000 (11:10 +0200)
committerXavier Perseguers <xavier@typo3.org>
Tue, 14 Apr 2015 11:45:19 +0000 (13:45 +0200)
commit3b3955755174132fb4c7bc760d2aad8e19c8355a
treefa856c80f78860fb9d825c3ea26189210aa02b51
parentf2c6a5c65a7f7ba09e4b45b006bf2aa77eac7e26
[BUGFIX] Store dependency errors before further dependency tests

During dependency checking the extensions are checked recursively. If an
depended extension is not yet installed, dependencies for this extension
are tested as well. Unfortunately the second test resets the array with
stored dependency errors which leads to improper dependency handling.
This patch stores the dependency errors before starting further tests
and re-adds them after processing.

Resolves: #66410
Releases: master, 6.2
Change-Id: Ic576c30f6b1f066467c4899ea5e958280c12d37c
Reviewed-on: http://review.typo3.org/38686
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
typo3/sysext/extensionmanager/Classes/Utility/DependencyUtility.php