[forge-issues] [JBoss JIRA] (FORGE-1001) Duplicate local variables are created in the View beans of the generated Faces scaffold

Vineet Reynolds (JIRA) jira-events at lists.jboss.org
Fri Jul 12 04:33:20 EDT 2013


     [ https://issues.jboss.org/browse/FORGE-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vineet Reynolds reassigned FORGE-1001:
--------------------------------------

    Assignee: Vineet Reynolds

    
> Duplicate local variables are created in the View beans of the generated Faces scaffold
> ---------------------------------------------------------------------------------------
>
>                 Key: FORGE-1001
>                 URL: https://issues.jboss.org/browse/FORGE-1001
>             Project: Forge
>          Issue Type: Bug
>          Components: Scaffold
>    Affects Versions: 1.3.2.Final
>            Reporter: Vineet Reynolds
>            Assignee: Vineet Reynolds
>
> 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|https://github.com/maxandersen/sakila-h2].
> A better naming convention needs to be used to prevent naming conflicts and eventually syntax errors in the generated scaffold.

--
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