Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 1.0.0.Beta3
-
Component/s: None
-
Labels:None
Description
Getting troubles when using camelCase entity property field names.
javax.el.PropertyNotFoundException: The class 'com.acme.domain.Bernd' does not have the property 'bName
Bernd.java:
@Column private String bName;
public String getBName()
public void setBName( final String bName)
{ this.bName=bName; }Gliffy Diagrams
Issue Links
- is incorporated by
-
FORGE-113
Forge Scaffold Enhancements (Umbrella Issue)
-
- Closed
-
Activity
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Lincoln Baxter III [ lincolnthree ] |
| Fix Version/s | 1.0.0.Beta3 [ 12318090 ] |
| Link |
This issue is incorporated by |
| Status | Open [ 1 ] | Closed [ 6 ] |
| Resolution | Done [ 1 ] |
| Project | Forge (JB) [ 12311102 ] | Forge [ 12311820 ] |
| Key |
|
|
| Fix Version/s | 1.0.0.Beta3 [ 12318357 ] | |
| Fix Version/s | 1.0.0.Beta3 [ 12318090 ] |
| Workflow | GIT Pull Request workflow [ 12463800 ] | GIT Pull Request workflow with automatic PR triggers [ 12657648 ] |
the problem also occurs when doing:
1. entity --named TestEntity
2. scaffold from-entity ...TestEntity
the generated TestEntityBean.java has "private TestEntity testentity=new TestEntity();" but correctly camelCased getters and setters.
{testEntityBean.testentity}the generated create.xhtml uses "<m:metawidget value="#
" readOnly="#
{false}" />" which leads to javax.el.PropertyNotFoundException