N°8764 - fix missing setup wizards titles + cache step computation

This commit is contained in:
odain
2026-01-22 15:54:15 +01:00
parent 985a49dc9f
commit 03e59c9749
2 changed files with 36 additions and 47 deletions

View File

@@ -379,11 +379,9 @@ class iTopExtensionsMap
{
$aRes = [];
foreach ($this->GetAllExtensionsWithPreviouslyInstalled() as $oExtension) {
\IssueLog::Error($oExtension->sCode.' '.__METHOD__.__LINE__);
/** @var \iTopExtension $oExtension */
if (($oExtension->sSource !== iTopExtension::SOURCE_WIZARD) && ($oExtension->bVisible)) {
if ($bKeepMissingDependencyExtensions || (count($oExtension->aMissingDependencies) == 0)) {
if (!$oExtension->bMandatory) {
$oExtension->bMandatory = ($oExtension->sSource === iTopExtension::SOURCE_REMOTE);
}