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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0008492
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2009-04-07 18:512009-04-26 00:00
ReportermarvintmView Statuspublic 
Assigned Tomtaal 
PrioritynormalResolutionfixedFixed in Version2.50MP1
StatusclosedFix in branchFixed in SCM revision6eecf40b3274
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0008492: DAL should convert all java keywords

DescriptionCurrently, DAL converts some Java keywords in property names to different words, so that compiling the generated classes can be done without errors.

However, not all the possible keywords are considered. Specifically, the keyword "public" is not considered, so if for example there is a column called "public" in a table, the generated class will contain a property called "public", which of course is wrong.
Proposed SolutionAll the Java keywords should be filtered in NamingUtils.java.
Tagsmain
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0015272)
hgbot (developer)
2009-04-08 11:35

Repository: erp/devel/pi
Changeset: 6eecf40b3274a9f1070161da78639e368d0a5cf4
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Apr 08 11:35:11 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/6eecf40b3274a9f1070161da78639e368d0a5cf4 [^]

Fixes issue 8492: DAL should convert all java keywords

---
M src/org/openbravo/base/model/NamingUtil.java
---

- Issue History
Date Modified Username Field Change
2009-04-07 18:51 marvintm New Issue
2009-04-07 18:51 marvintm Assigned To => mtaal
2009-04-07 18:51 marvintm Regression testing => No
2009-04-08 11:35 hgbot Checkin
2009-04-08 11:35 hgbot Note Added: 0015272
2009-04-08 11:35 hgbot Status new => resolved
2009-04-08 11:35 hgbot Resolution open => fixed
2009-04-08 11:35 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/6eecf40b3274a9f1070161da78639e368d0a5cf4 [^]
2009-04-22 11:23 psarobe Tag Attached: main
2009-04-25 13:11 psarobe Status resolved => closed
2009-04-26 00:00 anonymous sf_bug_id 0 => 2781346


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker