Fixes bug 9285 and 9363: Poor error messages on foreign key violations
authorAinhoa Pagola <ainhoa.pagola@openbravo.com>
Mon, 08 Jun 2009 18:27:48 +0200
changeset 3986 d7fc5e28a753
parent 3985 78a6268b22c5
child 3987 4566a0142d2e
Fixes bug 9285 and 9363: Poor error messages on foreign key violations
src-db/database/sourcedata/AD_MESSAGE.xml
--- a/src-db/database/sourcedata/AD_MESSAGE.xml	Mon Jun 08 17:11:40 2009 +0200
+++ b/src-db/database/sourcedata/AD_MESSAGE.xml	Mon Jun 08 18:27:48 2009 +0200
@@ -63977,6 +63977,17 @@
 <!--81088F7236714F8A9D6FE754B10D31E8-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--81088F7236714F8A9D6FE754B10D31E8--></AD_MESSAGE>
 
+<!--81315C82EF73430880CDC04277C0EE87--><AD_MESSAGE>
+<!--81315C82EF73430880CDC04277C0EE87-->  <AD_MESSAGE_ID><![CDATA[81315C82EF73430880CDC04277C0EE87]]></AD_MESSAGE_ID>
+<!--81315C82EF73430880CDC04277C0EE87-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--81315C82EF73430880CDC04277C0EE87-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--81315C82EF73430880CDC04277C0EE87-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--81315C82EF73430880CDC04277C0EE87-->  <VALUE><![CDATA[cprojectphase_cproject]]></VALUE>
+<!--81315C82EF73430880CDC04277C0EE87-->  <MSGTEXT><![CDATA[This record cannot be deleted because it is associated with other existing elements. Please see Linked Items]]></MSGTEXT>
+<!--81315C82EF73430880CDC04277C0EE87-->  <MSGTYPE><![CDATA[E]]></MSGTYPE>
+<!--81315C82EF73430880CDC04277C0EE87-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--81315C82EF73430880CDC04277C0EE87--></AD_MESSAGE>
+
 <!--8437C016631646ED9643B0B53E4F2AF8--><AD_MESSAGE>
 <!--8437C016631646ED9643B0B53E4F2AF8-->  <AD_MESSAGE_ID><![CDATA[8437C016631646ED9643B0B53E4F2AF8]]></AD_MESSAGE_ID>
 <!--8437C016631646ED9643B0B53E4F2AF8-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -64507,6 +64518,17 @@
 <!--DD9A9C93BB2842F79A517817303A6934-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--DD9A9C93BB2842F79A517817303A6934--></AD_MESSAGE>
 
+<!--DDD170ACB31F46FDB8235F24408080A0--><AD_MESSAGE>
+<!--DDD170ACB31F46FDB8235F24408080A0-->  <AD_MESSAGE_ID><![CDATA[DDD170ACB31F46FDB8235F24408080A0]]></AD_MESSAGE_ID>
+<!--DDD170ACB31F46FDB8235F24408080A0-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--DDD170ACB31F46FDB8235F24408080A0-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--DDD170ACB31F46FDB8235F24408080A0-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--DDD170ACB31F46FDB8235F24408080A0-->  <VALUE><![CDATA[c_bp_salcategory_c_bpartner]]></VALUE>
+<!--DDD170ACB31F46FDB8235F24408080A0-->  <MSGTEXT><![CDATA[This record cannot be deleted because it is associated with other existing elements. Please see Linked Items]]></MSGTEXT>
+<!--DDD170ACB31F46FDB8235F24408080A0-->  <MSGTYPE><![CDATA[E]]></MSGTYPE>
+<!--DDD170ACB31F46FDB8235F24408080A0-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--DDD170ACB31F46FDB8235F24408080A0--></AD_MESSAGE>
+
 <!--E3B45E07261C456C9643C6E85C9149EE--><AD_MESSAGE>
 <!--E3B45E07261C456C9643C6E85C9149EE-->  <AD_MESSAGE_ID><![CDATA[E3B45E07261C456C9643C6E85C9149EE]]></AD_MESSAGE_ID>
 <!--E3B45E07261C456C9643C6E85C9149EE-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>