Fixed issue 12622: A link to the OB wiki is shown when installation error happens.
authorGuillermo Álvarez de Eulate <guillermo.alvarez@openbravo.com>
Wed, 29 Feb 2012 13:05:53 +0100
changeset 15648 0e1375b72b2c
parent 15647 36954df33011
child 15649 3e99736167dc
Fixed issue 12622: A link to the OB wiki is shown when installation error happens.
This link has been concatenated to the error message. I have created one row in AD_MESSAGE table.
src-db/database/sourcedata/AD_MESSAGE.xml
src/org/openbravo/erpCommon/ad_forms/ModuleManagement.java
--- a/src-db/database/sourcedata/AD_MESSAGE.xml	Wed Feb 29 12:47:29 2012 +0100
+++ b/src-db/database/sourcedata/AD_MESSAGE.xml	Wed Feb 29 13:05:53 2012 +0100
@@ -16225,6 +16225,17 @@
 <!--4F9AD483DEA4498084BA29355FFAE421-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--4F9AD483DEA4498084BA29355FFAE421--></AD_MESSAGE>
 
+<!--50F02C25EBA04667AC266B20C03AC623--><AD_MESSAGE>
+<!--50F02C25EBA04667AC266B20C03AC623-->  <AD_MESSAGE_ID><![CDATA[50F02C25EBA04667AC266B20C03AC623]]></AD_MESSAGE_ID>
+<!--50F02C25EBA04667AC266B20C03AC623-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--50F02C25EBA04667AC266B20C03AC623-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--50F02C25EBA04667AC266B20C03AC623-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--50F02C25EBA04667AC266B20C03AC623-->  <VALUE><![CDATA[CheckUpdateTips]]></VALUE>
+<!--50F02C25EBA04667AC266B20C03AC623-->  <MSGTEXT><![CDATA[You can get more information about it checking <a href="http://wiki.openbravo.com/wiki/Update_Tips" target="_blank">this site</a>.]]></MSGTEXT>
+<!--50F02C25EBA04667AC266B20C03AC623-->  <MSGTYPE><![CDATA[I]]></MSGTYPE>
+<!--50F02C25EBA04667AC266B20C03AC623-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--50F02C25EBA04667AC266B20C03AC623--></AD_MESSAGE>
+
 <!--51AF3FA8F36341C19D3C0785E2A2D06A--><AD_MESSAGE>
 <!--51AF3FA8F36341C19D3C0785E2A2D06A-->  <AD_MESSAGE_ID><![CDATA[51AF3FA8F36341C19D3C0785E2A2D06A]]></AD_MESSAGE_ID>
 <!--51AF3FA8F36341C19D3C0785E2A2D06A-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src/org/openbravo/erpCommon/ad_forms/ModuleManagement.java	Wed Feb 29 12:47:29 2012 +0100
+++ b/src/org/openbravo/erpCommon/ad_forms/ModuleManagement.java	Wed Feb 29 13:05:53 2012 +0100
@@ -1725,7 +1725,10 @@
       if (message != null) {
         xmlDocument.setParameter("messageType", message.getType());
         xmlDocument.setParameter("messageTitle", message.getTitle());
-        xmlDocument.setParameter("messageMessage", message.getMessage());
+        xmlDocument.setParameter(
+            "messageMessage",
+            message.getMessage() + "<br/>"
+                + Utility.messageBD(this, "CheckUpdateTips", vars.getLanguage(), false));
       }
     }