mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 07:12:26 +02:00
Added an extra safety check to detect inconsistencies between the added extensions and the choices made during the initial installation.
SVN:2.4[5319]
This commit is contained in:
@@ -264,6 +264,9 @@ try
|
|||||||
|
|
||||||
$oRuntimeEnv->InitDataModel($oConfig, true /* model only */);
|
$oRuntimeEnv->InitDataModel($oConfig, true /* model only */);
|
||||||
|
|
||||||
|
// Safety check: check the inter dependencies, will throw an exception in case of inconsistency
|
||||||
|
$oRuntimeEnv->AnalyzeInstallation($oConfig, $oRuntimeEnv->GetBuildDir(), true);
|
||||||
|
|
||||||
$oRuntimeEnv->CheckMetaModel(); // Will throw an exception if a problem is detected
|
$oRuntimeEnv->CheckMetaModel(); // Will throw an exception if a problem is detected
|
||||||
|
|
||||||
// Everything seems Ok so far, commit in env-production!
|
// Everything seems Ok so far, commit in env-production!
|
||||||
|
|||||||
Reference in New Issue
Block a user