[forge-issues] [JBoss JIRA] (FORGE-1450) Cannot create an enum attribute on an Entity

Robert Balent (JIRA) issues at jboss.org
Fri Apr 11 23:32:13 EDT 2014


    [ https://issues.jboss.org/browse/FORGE-1450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12961326#comment-12961326 ] 

Robert Balent commented on FORGE-1450:
--------------------------------------

I've created pull request for this issue. I'll be glad for any feedback.

https://github.com/forge/core/pull/435
                
> Cannot create an enum attribute on an Entity
> --------------------------------------------
>
>                 Key: FORGE-1450
>                 URL: https://issues.jboss.org/browse/FORGE-1450
>             Project: Forge
>          Issue Type: Sub-task
>          Components: UI - Shell
>    Affects Versions: 2.0.0.CR2
>            Reporter: Antonio Goncalves
>            Priority: Critical
>             Fix For: 2.x Future
>
>
> I've created a {{Language}} enum (with {{java-new-enum}}) and then I want my entity {{Book}} to have an attribute of type {{Language}}. In Forge 1.x I would do :
> {code}
> field custom --named language --type org.javaone.javaee7.model.Language.java ;
> {code}
> There is no such {{custom}} attribute in Forge 2.x and the following doesn't work : 
> {code}
> jpa-new-field --named language --typeName org.javaone.javaee7.model.Language.java ;
> {code}

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