[forge-issues] [JBoss JIRA] (FORGE-871) Faces scaffold generates incorrect initializers for OneToOne fields with property based accessors
Vineet Reynolds (JIRA)
jira-events at lists.jboss.org
Thu Apr 25 13:15:54 EDT 2013
[ https://issues.jboss.org/browse/FORGE-871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vineet Reynolds resolved FORGE-871.
-----------------------------------
Fix Version/s: 1.2.4.Final
Resolution: Done
Pushed upstream https://github.com/forge/core/commit/d5b976104a2e0da2124e20752957461309048e73
> 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: http://www.atlassian.com/software/jira
More information about the forge-issues
mailing list