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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0031336
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 02. Master data managementminorhave not tried2015-11-03 13:362015-11-03 13:36
ReporterAugustoMauchView Statuspublic 
Assigned ToTriage Omni OMS 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
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

0031336: The c_reject_reason table should be included in the Client Definition dataset

DescriptionThe c_reject_reason_id column of the c_order table references the c_reject_reason table.

The problem is that the c_order table is included in the Client Definition dataset, but the c_reject_reason table is not. This will cause referencial integrity problems when importing a sample data that containes not null values in the c_reject_reason_id column of the c_reject_reason table.
Steps To ReproduceFor any client:
- Add values to some rows in the c_reject_reason_id column of the c_order table.
- export the sample data for that client:
ant export.sample.data -Dclient="YourClient" -Dmodule=org.openbravo
  this will generate a XML file for the c_order that contains values for its c_reject_reason_id column, but it will not generate a XML file for the c_reject_reason table
- Import the sample data for that client, for instance by executing ant install.source. There will be referencial integrity problemes like these:

     [java] 161567 WARN - SQL Command failed with: ERROR: insert or update on table "c_order" violates foreign key constraint "c_order_reject_reason"
     [java] Detail: Key (c_reject_reason_id)=(1F4B6B9432EA9A5055D8ECD6552BFD05) is not present in table "c_reject_reason".
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2015-11-03 13:36 AugustoMauch New Issue
2015-11-03 13:36 AugustoMauch Assigned To => Triage Finance
2015-11-03 13:36 AugustoMauch Modules => Core
2015-11-03 13:36 AugustoMauch Triggers an Emergency Pack => No


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker