N°9412 - Backend cleanup must work on setup settings that differ from runtime - WIP

This commit is contained in:
odain
2026-05-04 16:16:01 +02:00
parent 80813dba22
commit 109aa03901
4 changed files with 79 additions and 2 deletions

View File

@@ -509,6 +509,7 @@ EOF
$sDisplayChoices .= '<li>'.$aChoice['title'].'</li>';
if (isset($aChoice['modules'])) {
if (count($aChoice['modules']) === 0 && (!isset($aChoice['missing']) || $aChoice['missing'] === false)) {
SetupLog::Error(__METHOD__, null, ['choice' => $aChoice]);
throw new Exception('Extension '.$aChoice['extension_code'].' does not have any module associated');
}
foreach ($aChoice['modules'] as $sModuleId) {