Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-871

Faces scaffold generates incorrect initializers for OneToOne fields with property based accessors

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.3.0.Final
    • 1.2.3.Final
    • Scaffold
    • None

    Description

      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:

      this.getX = new X();
      

      This should instead have been:

      this.x = new X();
      

      Field based accessors are treated correctly however.

      Attachments

        Activity

          People

            vineet.reynolds_jira Vineet Reynolds (Inactive)
            vineet.reynolds_jira Vineet Reynolds (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: