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

Duplicate local variables are created in the View beans of the generated Faces scaffold

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.3.3.Final
    • 1.3.2.Final
    • Scaffold
    • None

      Local variables generated in the delete() method containing the deletion logic are named after the types of the properties. Multiple properties of the same type or parameterized type can exist in the JPA entity.

      This was noticed in the JPA entities generated from the Sakila-H2 model.

      A better naming convention needs to be used to prevent naming conflicts and eventually syntax errors in the generated scaffold.

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

                Created:
                Updated:
                Resolved: