Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
| View Issue Details | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
| 0010024 | Openbravo ERP | 00. Application dictionary | public | 2009-07-23 16:47 | 2009-07-24 00:00 | |||||||
| Reporter | irati | |||||||||||
| Assigned To | rafaroda | |||||||||||
| Priority | normal | Severity | critical | Reproducibility | always | |||||||
| Status | closed | Resolution | duplicate | |||||||||
| Platform | OS | 20 | OS Version | rPath Linux | ||||||||
| Product Version | 2.50MP2 | |||||||||||
| 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 | 0010024: Error when new column in Core table references a new table of a new Module | |||||||||||
| Description | please see: http://forge.openbravo.com/plugins/espforum/view.php?group_id=100&forumid=549512&topicid=6999275 [^] | |||||||||||
| Steps To Reproduce | - Create a new column in an existing table that has a foreign key to a new table. - run: ant compile.development | |||||||||||
| Proposed Solution | Add this code to ModelProvider.getColumnByReference method. // Removing _ID from tableName based on Openbravo's naming // convention String sTable = columnName.substring(0, columnName.length() - 3); if (columnName.substring(0, 2).toUpperCase().equals("EM_")) sTable = columnName.substring(3, sTable.length() - 1); | |||||||||||
| Additional Information | ||||||||||||
| Tags | No tags attached. | |||||||||||
| Relationships |
| |||||||||||
| Attached Files | ||||||||||||
| Issue History | ||||||||||||
| Date Modified | Username | Field | Change | |||||||||
| 2009-07-23 16:47 | irati | New Issue | ||||||||||
| 2009-07-23 16:47 | irati | Assigned To | => rafaroda | |||||||||
| 2009-07-23 17:05 | iperdomo | Relationship added | duplicate of 0009016 | |||||||||
| 2009-07-23 17:05 | iperdomo | Status | new => closed | |||||||||
| 2009-07-23 17:05 | iperdomo | Note Added: 0018592 | ||||||||||
| 2009-07-23 17:05 | iperdomo | Duplicate ID | 0 => 9016 | |||||||||
| 2009-07-23 17:05 | iperdomo | Resolution | open => duplicate | |||||||||
| 2009-07-24 00:00 | anonymous | sf_bug_id | 0 => 2826243 | |||||||||
| Notes | |||||
|
|
|||||
|
|
||||