mirror of
https://github.com/Combodo/iTop.git
synced 2026-08-20 21:28:25 +02:00
N°9692 - Uninstall / Disable install when extension has module with missing dependencies (#967)
* N°9692 - Uninstall / Disable install when extension has module with missing dependencies * N°9692 - Uninstall / Disable install when extension has module with missing dependencies * N°9692 - Uninstall / Disable install when extension has module with missing dependencies * N°9692 - Refactor dependency handling for extensions to use HasDependencyIssue method * Rename cannot-be-installed to dependency_issue * Changes following the review
This commit is contained in:
@@ -338,7 +338,7 @@ class InstallationFileService
|
||||
continue;
|
||||
}
|
||||
if ($this->CanChooseUnpackageExtension($oExtension)) {
|
||||
if (($oExtension->bVisible) && (count($oExtension->aMissingDependencies) === 0)) {
|
||||
if ($oExtension->bVisible && !$oExtension->HasDependencyIssue()) {
|
||||
$aCurrentModules = [];
|
||||
$aUnselectableModules = [];
|
||||
$bIsExtensionSelectable = true;
|
||||
|
||||
Reference in New Issue
Block a user