[BUGFIX] Install extension when dependency check is skipped 30/50630/3
authorNicole Cordes <typo3@cordes.co>
Sun, 13 Nov 2016 12:21:16 +0000 (13:21 +0100)
committerSusanne Moog <susanne.moog@typo3.org>
Sat, 3 Dec 2016 14:32:00 +0000 (15:32 +0100)
You can skip the dependency check if you want to enforce the installation
of an extension. This patch ensures that dependencies which are available
in the system but marked as not compatible are installed anyways.

Resolves: #78677
Releases: master, 7.6
Change-Id: I552ff949524e884bfbb5b8e270cfee0dc4691187
Reviewed-on: https://review.typo3.org/50630
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Sommer <markussom@posteo.de>
Tested-by: Markus Sommer <markussom@posteo.de>
Reviewed-by: Johannes Goslar <jogo@kronberger-spiele.de>
Tested-by: Johannes Goslar <jogo@kronberger-spiele.de>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>

index 4147eac..93b1138 100644 (file)
@@ -335,6 +335,8 @@ class DependencyUtility implements \TYPO3\CMS\Core\SingletonInterface
+                        // Dependency check is skipped and the local version has to be installed
+                        $this->managementService->markExtensionForInstallation($extensionKey);
             } else {