diff --git a/application/exceptions/CoreException.php b/application/exceptions/CoreException.php
index f8afd2e5c..178b5397d 100644
--- a/application/exceptions/CoreException.php
+++ b/application/exceptions/CoreException.php
@@ -67,7 +67,7 @@ class CoreException extends Exception
public function getHtmlDesc($sHighlightHtmlBegin = '', $sHighlightHtmlEnd = '')
{
- return $this->getMessage();
+ return utils::EscapeHtml($this->getMessage());
}
/**
diff --git a/datamodels/2.x/authent-ldap/datamodel.authent-ldap.xml b/datamodels/2.x/authent-ldap/datamodel.authent-ldap.xml
index dfaa4ea32..faac427ac 100644
--- a/datamodels/2.x/authent-ldap/datamodel.authent-ldap.xml
+++ b/datamodels/2.x/authent-ldap/datamodel.authent-ldap.xml
@@ -21,12 +21,10 @@
id
- %1$s
-
diff --git a/datamodels/2.x/itop-change-mgmt-itil/datamodel.itop-change-mgmt-itil.xml b/datamodels/2.x/itop-change-mgmt-itil/datamodel.itop-change-mgmt-itil.xml
index 53c163056..888bcd23b 100755
--- a/datamodels/2.x/itop-change-mgmt-itil/datamodel.itop-change-mgmt-itil.xml
+++ b/datamodels/2.x/itop-change-mgmt-itil/datamodel.itop-change-mgmt-itil.xml
@@ -46,12 +46,12 @@
rank
- approved
+
approved
60
- assigned
+
assigned
40
diff --git a/datamodels/2.x/itop-change-mgmt/datamodel.itop-change-mgmt.xml b/datamodels/2.x/itop-change-mgmt/datamodel.itop-change-mgmt.xml
index 37720dbae..cc5f88ac3 100755
--- a/datamodels/2.x/itop-change-mgmt/datamodel.itop-change-mgmt.xml
+++ b/datamodels/2.x/itop-change-mgmt/datamodel.itop-change-mgmt.xml
@@ -380,7 +380,6 @@
-
diff --git a/datamodels/2.x/itop-config-mgmt/datamodel.itop-config-mgmt.xml b/datamodels/2.x/itop-config-mgmt/datamodel.itop-config-mgmt.xml
index 161eedcab..d9da9cb7d 100755
--- a/datamodels/2.x/itop-config-mgmt/datamodel.itop-config-mgmt.xml
+++ b/datamodels/2.x/itop-config-mgmt/datamodel.itop-config-mgmt.xml
@@ -4351,7 +4351,6 @@
-
20
- 20
@@ -5736,8 +5735,7 @@
-
-
+
@@ -7230,7 +7228,12 @@
- - 70
>
+
+
+ -
+ 70
+
+
diff --git a/datamodels/2.x/itop-datacenter-mgmt/datamodel.itop-datacenter-mgmt.xml b/datamodels/2.x/itop-datacenter-mgmt/datamodel.itop-datacenter-mgmt.xml
index b5b7a4972..b46d0f1b6 100755
--- a/datamodels/2.x/itop-datacenter-mgmt/datamodel.itop-datacenter-mgmt.xml
+++ b/datamodels/2.x/itop-datacenter-mgmt/datamodel.itop-datacenter-mgmt.xml
@@ -797,7 +797,6 @@
true
DEL_MANUAL
false
- false
powerstart_id
diff --git a/setup/modulediscovery.class.inc.php b/setup/modulediscovery.class.inc.php
index 81482c678..96822a982 100644
--- a/setup/modulediscovery.class.inc.php
+++ b/setup/modulediscovery.class.inc.php
@@ -40,15 +40,17 @@ class MissingDependencyException extends CoreException
HTML;
foreach ($this->aModulesInfo as $sModuleId => $aModuleErrors) {
- $sModuleLabel = $aModuleErrors['module']['label'];
+ $sModuleLabel = utils::EscapeHtml($aModuleErrors['module']['label']);
+ $sModuleId = utils::EscapeHtml($sModuleId);
$aModuleMissingDependencies = $aModuleErrors['dependencies'];
$sErrorMessage .= <<{$sModuleLabel} ({$sModuleId}):
+ - $sModuleLabel ($sModuleId):
HTML;
foreach ($aModuleMissingDependencies as $sMissingModule) {
- $sErrorMessage .= "- {$sMissingModule}
";
+ $sMissingModule = utils::EscapeHtml($sMissingModule);
+ $sErrorMessage .= "- $sMissingModule
";
}
$sErrorMessage .= <<