[BUGFIX] Install extension when dependency check is skipped 73/50873/2
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 16:07:52 +0000 (17:07 +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/50873
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Manuel Glauser <mail@manuelglauser.ch>
Tested-by: Manuel Glauser <mail@manuelglauser.ch>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
typo3/sysext/extensionmanager/Classes/Utility/DependencyUtility.php

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