]
Vineet Reynolds resolved FORGE-871.
-----------------------------------
Fix Version/s: 1.2.4.Final
Resolution: Done
Pushed upstream
Faces scaffold generates incorrect initializers for OneToOne fields
with property based accessors
-------------------------------------------------------------------------------------------------
Key: FORGE-871
URL:
https://issues.jboss.org/browse/FORGE-871
Project: Forge
Issue Type: Bug
Components: Scaffold
Reporter: Vineet Reynolds
Assignee: Vineet Reynolds
Fix For: 1.2.4.Final
The Faces scaffold generates initializers in the view bean for @OneToOne relationships.
When a property based accessor is used, the initializer expression is incorrectly formed:
{noformat}
this.getX = new X();
{noformat}
This should instead have been:
{noformat}
this.x = new X();
{noformat}
Field based accessors are treated correctly however.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: