From 81c8eb2830c8b25bac8d7a6f2af92d935c89ffd5 Mon Sep 17 00:00:00 2001 From: Denis Flaven Date: Fri, 9 Feb 2018 14:04:52 +0000 Subject: [PATCH] =?UTF-8?q?N=C2=B01323:=20Bug=20fix=20for=20a=20crash=20wi?= =?UTF-8?q?th=20the=20error=20message:=20class=20'cmdbAbstractObject'=20no?= =?UTF-8?q?t=20found,=20in=20the=20last=20screen=20of=20the=20setup=20unde?= =?UTF-8?q?r=20very=20specific=20circumstances.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit SVN:trunk[5336] --- setup/wizardsteps.class.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/wizardsteps.class.inc.php b/setup/wizardsteps.class.inc.php index 55044c0a39..765b70a3f5 100644 --- a/setup/wizardsteps.class.inc.php +++ b/setup/wizardsteps.class.inc.php @@ -2523,7 +2523,7 @@ class WizStepDone extends WizardStep // Load the data model only, in order to load env-production/core/main.php to get the XML parameters (needed by GetModuleSettings below) // But main.php may also contain classes (defined without any module), and thus requiring the full data model // to be loaded to prevent "class not found" errors... - $oProductionEnv = new RunTimeEnvironment($sTargetEnvironment); + $oProductionEnv = new RunTimeEnvironment('production'); $oProductionEnv->InitDataModel($oConfig, true); $sIframeUrl = $oConfig->GetModuleSetting('itop-hub-connector', 'setup_url', '');