[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
Wed Apr 24 17:33:53 EDT 2013


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


More information about the forge-issues mailing list