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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0021591
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2012-09-10 17:072012-09-11 12:36
ReportermarvintmView Statuspublic 
Assigned Tomarvintm 
PriorityurgentResolutionduplicateFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version3.0MP16
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0021591: AD_Module_Id column in AD_Ref_data_loaded should not have reference tabledir

DescriptionCurrently, the AD_Module_Id column in the AD_Ref_Data_Loaded table has reference tabledir.

This is wrong, because that column sometimes doesn't point to an existing record (so reference integrity sometimes is not maintained for it), for example, in case a module was uninstalled from the system.

This in turn means that if a valid .xml file generated through an "export client" execution contains ad_ref_data_loaded records, the process to import it will fail if the data points to non-installed modules, which is not correct.
Steps To Reproduce- Create an Openbravo instance.
- Import a dataset (for example, the spanish taxes dataset)
- Do export client.
- Import the client in a different instance. The import process will fail.
Proposed SolutionThe reference of the column should be changed to String. Although this is an API change, it is done to fix an inconsistency, and it's worth to take into account that even if the methods to retrieve the module exist, they would fail in the case a module was uninstalled, so the API was actually "broken".
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
duplicate of defect 00212593.0MP16 closedmarvintm export.sample.data/export-client fails with ad_ref_data* having rows pointing to no longer installed modules. 

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2012-09-10 17:07 marvintm New Issue
2012-09-10 17:07 marvintm Assigned To => marvintm
2012-09-10 17:07 marvintm Modules => Core
2012-09-11 12:36 AugustoMauch Relationship added duplicate of 0021259
2012-09-11 12:36 AugustoMauch Status new => closed
2012-09-11 12:36 AugustoMauch Resolution open => duplicate


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker