[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 11:57:20 EDT 2013


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

Vineet Reynolds closed FORGE-1001.
----------------------------------

    Fix Version/s: 1.3.3.Final
       Resolution: Done


Pushed upstream: https://github.com/forge/core/commit/cfc6f49ff8729fdc6ebac5d2827351368cb988fe
                
> 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
>             Fix For: 1.3.3.Final
>
>
> 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