[forge-issues] [JBoss JIRA] (FORGE-1537) Able to create a constraint on a non existing field

George Gastaldi (JIRA) issues at jboss.org
Thu Feb 13 20:25:28 EST 2014


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

George Gastaldi closed FORGE-1537.
----------------------------------

    Resolution: Done


Removed default value for onProperty input
                
> Able to create a constraint on a non existing field
> ---------------------------------------------------
>
>                 Key: FORGE-1537
>                 URL: https://issues.jboss.org/browse/FORGE-1537
>             Project: Forge
>          Issue Type: Sub-task
>          Components: Scaffold
>    Affects Versions: 2.0.0.Final
>            Reporter: Antonio Goncalves
>            Assignee: George Gastaldi
>             Fix For: 2.0.1.Final
>
>
> I've created a few fields on an entity and add some constraints to those fields. Everything is ok. But when I add a constraint to a field that doesn't exit, then it adds the constraint to the last created field (looks a bit random actually).
> So if I type :
> {code}
> [Artist.java]$ constraint-add --onProperty dummy --constraint NotNull
> ***SUCCESS*** Constraint NotNull successfully configured
> {code}
> dummy doesn't exist, so it adds NotNull to other attributes

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