Openbravo Issue Tracking System - Openbravo ERP  | 
| View Issue Details | 
  | 
| ID | Project | Category | View Status | Date Submitted | Last Update | 
| 0021260 | Openbravo ERP | A. Platform | public | 2012-07-31 10:56 | 2022-02-01 08:05 | 
  | 
| Reporter | shuehner |   | 
| Assigned To | Triage Platform Base |   | 
| Priority | normal | Severity | minor | Reproducibility | have not tried | 
| Status | acknowledged | Resolution | open |   | 
| Platform |  | OS | 5 | OS Version |  | 
| Product Version | pi |   | 
| Target Version |  | Fixed in Version |  |   | 
| Merge Request Status |  | 
| Review Assigned To |  | 
| OBNetwork customer | No | 
| Web browser |  | 
| Modules | Core | 
| Support ticket |  | 
| Regression level |  | 
| Regression date |  | 
| Regression introduced in release |  | 
| Regression introduced by commit |  | 
| Triggers an Emergency Pack | No | 
  | 
| Summary | 0021260: Error message in export.client/export.sample.data when FK is broken is not useful | 
| Description | When 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 Reproduce | See steps to reproduce from isssue 21259 and check error message shown on export.client 
 | 
| Proposed Solution | Include data which contains the broken reference in the error message in addition to target of the reference. | 
| Additional Information |  | 
| Tags | No tags attached. | 
| Relationships | | related to  | defect  | 0021259 | 3.0MP16  | closed  | marvintm  | export.sample.data/export-client fails with ad_ref_data* having rows pointing to no longer installed modules.  |  
  | 
| Attached Files |  | 
  | 
| 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:56 | shuehner | OBNetwork customer |  => No | 
| 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 |