Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0010024Openbravo ERP00. Application dictionarypublic2009-07-23 16:472009-07-24 00:00
irati 
rafaroda 
normalcriticalalways
closedduplicate 
20rPath Linux
2.50MP2 
 
Core
No
0010024: Error when new column in Core table references a new table of a new Module
please see:

http://forge.openbravo.com/plugins/espforum/view.php?group_id=100&forumid=549512&topicid=6999275 [^]

- Create a new column in an existing table that has a foreign key to a new table.
- run: ant compile.development
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);
No tags attached.
duplicate of feature request 0009016 scheduled Triage Platform Base When a column is added in a table in different module (EM_Module_Column) its reference is TableDir by default 
Issue History
2009-07-23 16:47iratiNew Issue
2009-07-23 16:47iratiAssigned To => rafaroda
2009-07-23 17:05iperdomoRelationship addedduplicate of 0009016
2009-07-23 17:05iperdomoStatusnew => closed
2009-07-23 17:05iperdomoNote Added: 0018592
2009-07-23 17:05iperdomoDuplicate ID0 => 9016
2009-07-23 17:05iperdomoResolutionopen => duplicate
2009-07-24 00:00anonymoussf_bug_id0 => 2826243

Notes
(0018592)
iperdomo   
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