details: https://code.openbravo.com/erp/devel/pi/rev/9fa79145ed3c
changeset: 22816:9fa79145ed3c
user: Antonio Moreno <antonio.moreno <at> openbravo.com>
date: Wed Apr 02 11:42:03 2014 +0200
summary: Fixed issue 26142. AD_Module_Install table foreign keys will no
longer be checked.
diffstat:
src/org/openbravo/service/system/DatabaseValidator.java | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diffs (15 lines):
diff -r 4ce335b8d0f0 -r 9fa79145ed3c
src/org/openbravo/service/system/DatabaseValidator.java
--- a/src/org/openbravo/service/system/DatabaseValidator.java Fri Jan 03
14:08:41 2014 +0530
+++ b/src/org/openbravo/service/system/DatabaseValidator.java Wed Apr 02
11:42:03 2014 +0200
@@ -383,6 +383,11 @@
// can happen with mismatches
return;
}
+ if (entity.getTableName().equalsIgnoreCase("Ad_Module_Install")) {
+ // We shouldn't check the foreign keys of the Ad_Module_Install table,
as this one is special,
+ // and doesn't need fks
+ return;
+ }
for (Property property : entity.getProperties()) {
// ignore computed columns
------------------------------------------------------------------------------
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits