]
George Gastaldi updated FORGE-1450:
-----------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request:
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: