fixes issue 32292: access error in Field tab with specific role when saving
authorCarlos Aristu <carlos.aristu@openbravo.com>
Fri, 19 Feb 2016 13:22:52 +0100
changeset 28625 e408f8f90401
parent 28624 f58e58d7e308
child 28626 a26021f45e55
fixes issue 32292: access error in Field tab with specific role when saving

The problem is caused because the Field tab has a field for the Creation audit column. This field should be removed as audit columns should not have a field in the AD. They are generated automatically.
src-db/database/sourcedata/AD_FIELD.xml
--- a/src-db/database/sourcedata/AD_FIELD.xml	Fri Feb 19 13:09:01 2016 +0100
+++ b/src-db/database/sourcedata/AD_FIELD.xml	Fri Feb 19 13:22:52 2016 +0100
@@ -174093,33 +174093,6 @@
 <!--1005900024-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
 <!--1005900024--></AD_FIELD>
 
-<!--1006100000--><AD_FIELD>
-<!--1006100000-->  <AD_FIELD_ID><![CDATA[1006100000]]></AD_FIELD_ID>
-<!--1006100000-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--1006100000-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--1006100000-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--1006100000-->  <NAME><![CDATA[Creation Date]]></NAME>
-<!--1006100000-->  <DESCRIPTION><![CDATA[The date that this record is completed.]]></DESCRIPTION>
-<!--1006100000-->  <HELP><![CDATA[The Created field indicates the date that this record was created.]]></HELP>
-<!--1006100000-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
-<!--1006100000-->  <AD_TAB_ID><![CDATA[107]]></AD_TAB_ID>
-<!--1006100000-->  <AD_COLUMN_ID><![CDATA[579]]></AD_COLUMN_ID>
-<!--1006100000-->  <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
-<!--1006100000-->  <ISDISPLAYED><![CDATA[N]]></ISDISPLAYED>
-<!--1006100000-->  <DISPLAYLENGTH><![CDATA[19]]></DISPLAYLENGTH>
-<!--1006100000-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
-<!--1006100000-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
-<!--1006100000-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
-<!--1006100000-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
-<!--1006100000-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
-<!--1006100000-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
-<!--1006100000-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--1006100000-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
-<!--1006100000-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
-<!--1006100000-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
-<!--1006100000-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
-<!--1006100000--></AD_FIELD>
-
 <!--1006100001--><AD_FIELD>
 <!--1006100001-->  <AD_FIELD_ID><![CDATA[1006100001]]></AD_FIELD_ID>
 <!--1006100001-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>