[BUGFIX] Ignore dependencies of inactive packages 19/26719/5
authorHelmut Hummel <helmut.hummel@typo3.org>
Thu, 9 Jan 2014 12:25:23 +0000 (13:25 +0100)
committerOliver Hader <oliver.hader@typo3.org>
Mon, 13 Jan 2014 17:21:51 +0000 (18:21 +0100)
commitdf96f236c8f3e826a3670ee4682bee6e838cafa3
treea9b7a0149d0902971087853e0eebe7c1c1bf0afb
parentcc3b0298583fbc0d1071d6dfdb9666361b0da9c6
[BUGFIX] Ignore dependencies of inactive packages

It might happen that activating or deactivating
a package throws an exception because other inactive
packages are available on the system with broken or
not fulfilled dependencies.

To solve this issue, only active packages
are regarded when resolving dependencies.

To remove a side effect from this change,
cache clearing in extension manager is
moved to a later point (see #54951).

This needs a proper fix in another change,
but makes this fix work for now.

Resolves: #54879
Releases: 6.2
Change-Id: Id81b66b2d2b6f4ba7d1c6ea2d001c271982539b3
Reviewed-on: https://review.typo3.org/26719
Reviewed-by: Thomas Maroschik
Reviewed-by: Markus Klein
Tested-by: Kasper Ligaard
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
typo3/sysext/core/Classes/Package/PackageManager.php
typo3/sysext/extensionmanager/Classes/Utility/InstallUtility.php