Vineet Reynolds created FORGE-871:
-------------------------------------
Summary: 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
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:
http://www.atlassian.com/software/jira