Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0026142
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformtrivialhave not tried2014-04-02 11:402014-05-07 18:10
ReportermarvintmView Statuspublic 
Assigned Tomarvintm 
PrioritynormalResolutionfixedFixed in Version3.0PR14Q3
StatusclosedFix in branchFixed in SCM revision9fa79145ed3c
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToAugustoMauch
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0026142: It doesn't make sense to check if the foreign keys on Ad_Module_Install are correct

DescriptionThe AD_Module_Install table is a special table which is filled when the user installs or updates modules, just before the rebuild it done. As this is an intermediate step before doing the full rebuild, it's not guaranteed that the integrity of referenced data will be correct at this point. Therefore, there shouldn't be foreign keys defined for this table, and therefore the system shouldn't check that they are correct.
Steps To Reproduce- Put core in development.
- Do export.database
- Verify that the following message appears:

Foreign Key Column AD_MODULE_INSTALL.AD_Language is not part of a foreign key constraint.

This warning shouldn't be raised.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0066058)
hgbot (developer)
2014-04-02 11:42

Repository: erp/devel/pi
Changeset: 9fa79145ed3c493057e34d28965edd1a038a7d52
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Wed Apr 02 11:42:03 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/9fa79145ed3c493057e34d28965edd1a038a7d52 [^]

Fixed issue 26142. AD_Module_Install table foreign keys will no longer be checked.

---
M src/org/openbravo/service/system/DatabaseValidator.java
---
(0066205)
AugustoMauch (manager)
2014-04-07 14:02

Code reviewed and verified in pi@9fa79145ed3c
(0066876)
hudsonbot (developer)
2014-05-07 18:10

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/02ca2648bcdc [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2014-04-02 11:40 marvintm New Issue
2014-04-02 11:40 marvintm Assigned To => AugustoMauch
2014-04-02 11:40 marvintm Modules => Core
2014-04-02 11:40 marvintm Triggers an Emergency Pack => No
2014-04-02 11:41 marvintm Assigned To AugustoMauch => marvintm
2014-04-02 11:42 hgbot Checkin
2014-04-02 11:42 hgbot Note Added: 0066058
2014-04-02 11:42 hgbot Status new => resolved
2014-04-02 11:42 hgbot Resolution open => fixed
2014-04-02 11:42 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/9fa79145ed3c493057e34d28965edd1a038a7d52 [^]
2014-04-02 11:44 shuehner Review Assigned To => AugustoMauch
2014-04-07 14:02 AugustoMauch Note Added: 0066205
2014-04-07 14:02 AugustoMauch Status resolved => closed
2014-04-07 14:02 AugustoMauch Fixed in Version => PR14Q3
2014-05-07 18:10 hudsonbot Checkin
2014-05-07 18:10 hudsonbot Note Added: 0066876


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker