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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0010024
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 00. Application dictionarycriticalalways2009-07-23 16:472009-07-24 00:00
ReporteriratiView Statuspublic 
Assigned Torafaroda 
PrioritynormalResolutionduplicateFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_11
OS VersionrPath LinuxDatabase version8.3.5Ant version1.7.1
Product Version2.50MP2SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0010024: Error when new column in Core table references a new table of a new Module

Descriptionplease 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 SolutionAdd 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);
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
duplicate of feature request 0009016 scheduledTriage Platform Base When a column is added in a table in different module (EM_Module_Column) its reference is TableDir by default 

-  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
Powered by Mantis Bugtracker