Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0010024 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 00. Application dictionary | critical | always | 2009-07-23 16:47 | 2009-07-24 00:00 | |||
Reporter | irati | View Status | public | |||||
Assigned To | rafaroda | |||||||
Priority | normal | Resolution | duplicate | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 32 bit | Database | PostgreSQL | Java version | 1.6.0_11 | |||
OS Version | rPath Linux | Database version | 8.3.5 | Ant version | 1.7.1 | |||
Product Version | 2.50MP2 | SCM revision | ||||||
Review Assigned To | ||||||||
Web browser | ||||||||
Modules | Core | |||||||
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); | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0018592) iperdomo (reporter) 2009-07-23 17:05 |
Hi, Thanks for reporting this issue, but there was another issue previously logged. Your proposed solution only helps in the Data Access Layer part, but to support EM_* columns with TableDir reference, a change must be made in several components of the framework. Again, thank you for your support. Best Regards, Iván |
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 |
Copyright © 2000 - 2009 MantisBT Group |