Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0014619 | Openbravo ERP | A. Platform | public | 2010-09-20 15:35 | 2010-10-20 00:00 |
Reporter | dalsasua | ||||
Assigned To | mtaal | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 20 | OS Version | Ubuntu 9.04 | |
Product Version | |||||
Target Version | pi | Fixed in Version | |||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | |||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0014619: Generate entities do not notice that a field name has changed one letter to upper | ||||
Description | If one field is named (and is associated to an element named) "Subsidy entity", the generate entities will create all getters setters as get/setSubsidyentity. If now name of the field changes to "Subsidy Entity", the generated java class is not modified, so getters/setters will continue to be get/setSubsidyentity, instead of get/setSubsidyEntity in the instance where the change was made. In a fresh instance, the getters/setters will have the upper "E". This happens even deleting the generated java file. A work-around is to delete the class file of the generated java. | ||||
Steps To Reproduce | 1.Create a column in any table 2.Name it Subsidy entity 3.Create the field 4.Create a java class that uses through DAL setSubsidyentity 5.Compile 6.Change the name of the column (and element) to Subsidy Entity 7.Compile 8.Realize that everything goes fine 9.Now delete the build folder and compile again 10.Realize that the java created in step 4 will fail to compile, as it uses setSubsidyentity, while the created one is setSubsidyEntity | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | dev-platform-quick-wins | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2010-09-20 15:35 | dalsasua | New Issue | |||
2010-09-20 15:35 | dalsasua | Assigned To | => mtaal | ||
2010-09-21 12:31 | hgbot | Checkin | |||
2010-09-21 12:31 | hgbot | Note Added: 0031269 | |||
2010-09-21 12:31 | hgbot | Status | new => resolved | ||
2010-09-21 12:31 | hgbot | Resolution | open => fixed | ||
2010-09-21 12:31 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/c0245cb0e221b640b4a7e13a8d8ea0e99a5fee6b [^] | ||
2010-09-27 17:09 | rafaroda | Tag Attached: dev-platform-quick-wins | |||
2010-09-29 11:57 | hudsonbot | Checkin | |||
2010-09-29 11:57 | hudsonbot | Note Added: 0031450 | |||
2010-10-19 12:04 | iperdomo | Note Added: 0031963 | |||
2010-10-19 12:04 | iperdomo | Status | resolved => closed | ||
2010-10-20 00:00 | anonymous | sf_bug_id | 0 => 3090870 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|