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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0021260
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2012-07-31 10:562022-02-01 08:05
ReportershuehnerView Statuspublic 
Assigned ToTriage Platform Base 
PrioritynormalResolutionopenFixed in Version
StatusacknowledgedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision0e920d5062b1 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0021260: Error message in export.client/export.sample.data when FK is broken is not useful

DescriptionWhen export.client or export.sample.data finds a broken FK relation (i.e. an ad_module_id in a table pointing to a module which does not exist in the db) then the error message points out the missing ad_module row with uuid but fails to point to the data containing that reference, thus making it very hard to debug+fix the problem in the data.
Steps To ReproduceSee steps to reproduce from isssue 21259 and check error message shown on export.client
Proposed SolutionInclude data which contains the broken reference in the error message in addition to target of the reference.
TagsNo tags attached.
Attached Files

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

-  Notes
(0052009)
AugustoMauch (manager)
2012-09-11 21:04

The exception (org.hibernate.ObjectNotFoundException) is thrown in this line [1], in the call to getClient()

[1] https://code.openbravo.com/erp/devel/pi/file/61377c542f43/src/org/openbravo/dal/xml/EntityXMLConverter.java#l529 [^]

- Issue History
Date Modified Username Field Change
2012-07-31 10:56 shuehner New Issue
2012-07-31 10:56 shuehner Assigned To => alostale
2012-07-31 10:56 shuehner Modules => Core
2012-07-31 10:57 shuehner Relationship added related to 0021259
2012-08-02 14:01 shuehner Assigned To alostale => marvintm
2012-09-11 21:04 AugustoMauch Note Added: 0052009
2015-03-11 14:10 alostale Assigned To marvintm => AugustoMauch
2015-03-17 14:37 alostale Assigned To AugustoMauch => platform
2015-11-10 16:52 alostale Status new => acknowledged
2022-02-01 08:05 alostale Assigned To platform => Triage Platform Base


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker