Added an extra safety check to detect inconsistencies between the added extensions and the choices made during the initial installation.

SVN:trunk[5318]
This commit is contained in:
Denis Flaven
2018-02-09 08:43:42 +00:00
parent 741f44e8b7
commit abe67d9e4e

View File

@@ -264,6 +264,9 @@ try
$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
// Everything seems Ok so far, commit in env-production!