]
Vineet Reynolds updated FORGE-871:
----------------------------------
Affects Version/s: 1.2.3.Final
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
Affects Versions: 1.2.3.Final
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: