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:
Denis Flaven
2018-02-09 08:53:26 +00:00
parent 7e98b04ed3
commit 55655e3fca

View File

@@ -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!