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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0009000
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2009-05-12 09:162009-06-04 00:00
ReportermtaalView Statuspublic 
Assigned Tomtaal 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision3dac42f31231
ProjectionnoneETAnoneTarget Versionpi
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0009000: References in the database without using foreign keys can go wrong in import:

DescriptionThere are a number of tables in the database which store references to other tables without a foreign key constraint. This because one foreign key column can point to multiple other tables.

See also issue:
https://issues.openbravo.com/view.php?id=8509 [^]

This was solved for AD_Tree/AD_TreeNode but also needs to be solved for:
AD_Alert, AD_Attachement and Fact_Acct

See attached xls.
Tags250mp2
Attached Filesxls file icon DynamicReferences.xls [^] (17,920 bytes) 2009-05-12 09:16

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0016430)
hgbot (developer)
2009-05-18 16:36

Repository: erp/devel/pi
Changeset: 3dac42f312310165bda6712500c20d2d7bfff89c
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Mon May 18 16:35:00 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/3dac42f312310165bda6712500c20d2d7bfff89c [^]

fixes issue 9000: References in the database without using foreign keys can go wrong in import:

---
M src-test/org/openbravo/test/xml/ClientExportImportTest.java
M src/org/openbravo/dal/xml/EntityXMLConverter.java
M src/org/openbravo/service/db/DataImportService.java
A src/org/openbravo/dal/xml/PrimitiveReferenceHandler.java
---

- Issue History
Date Modified Username Field Change
2009-05-12 09:16 mtaal New Issue
2009-05-12 09:16 mtaal Assigned To => mtaal
2009-05-12 09:16 mtaal File Added: DynamicReferences.xls
2009-05-12 09:16 mtaal Regression testing => No
2009-05-14 17:58 psarobe Tag Attached: 250mp2
2009-05-14 17:58 psarobe Status new => scheduled
2009-05-14 17:58 psarobe fix_in_branch => pi
2009-05-18 16:36 hgbot Checkin
2009-05-18 16:36 hgbot Note Added: 0016430
2009-05-18 16:36 hgbot Status scheduled => resolved
2009-05-18 16:36 hgbot Resolution open => fixed
2009-05-18 16:36 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/3dac42f312310165bda6712500c20d2d7bfff89c [^]
2009-06-03 17:35 psarobe Status resolved => closed
2009-06-04 00:00 anonymous sf_bug_id 0 => 2800781


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker