details:   https://code.openbravo.com/erp/devel/pi/rev/889f630ff69d
changeset: 16900:889f630ff69d
user:      Antonio Moreno <antonio.moreno <at> openbravo.com>
date:      Fri Jun 22 09:11:05 2012 +0200
summary:   Fixed issue 20743. Removed wrong foreign key.
This foreign key basically killed all ad_ref_data_loaded information in case 
the module which contained the original reference data was uninstalled. If the 
user then installed the module again, and tried to apply the dataset, the 
process failed.

diffstat:

 src-db/database/model/tables/AD_REF_DATA_LOADED.xml |  3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diffs (13 lines):

diff -r 4152ff6e040d -r 889f630ff69d 
src-db/database/model/tables/AD_REF_DATA_LOADED.xml
--- a/src-db/database/model/tables/AD_REF_DATA_LOADED.xml       Fri Jun 22 
08:58:59 2012 +0200
+++ b/src-db/database/model/tables/AD_REF_DATA_LOADED.xml       Fri Jun 22 
09:11:05 2012 +0200
@@ -52,9 +52,6 @@
       <foreign-key foreignTable="AD_CLIENT" 
name="AD_REF_DATA_LOADED_AD_CLIENT">
         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
       </foreign-key>
-      <foreign-key foreignTable="AD_MODULE" 
name="AD_REF_DATA_LOADED_AD_MODULE" onDelete="cascade">
-        <reference local="AD_MODULE_ID" foreign="AD_MODULE_ID"/>
-      </foreign-key>
       <foreign-key foreignTable="AD_ORG" name="AD_REF_DATA_LOADED_AD_ORG">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to