[forge-issues] [JBoss JIRA] (FORGE-1480) Mulitple --value parameters for Min constraint

George Gastaldi (JIRA) issues at jboss.org
Tue Jan 28 10:19:28 EST 2014


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

George Gastaldi commented on FORGE-1480:
----------------------------------------

This is an Aesh issue, and it affects all commands
                
> Mulitple --value parameters for Min constraint
> ----------------------------------------------
>
>                 Key: FORGE-1480
>                 URL: https://issues.jboss.org/browse/FORGE-1480
>             Project: Forge
>          Issue Type: Sub-task
>          Components: UI - Shell
>    Affects Versions: 2.0.0.CR2
>            Reporter: Antonio Goncalves
>             Fix For: 2.x Future
>
>
> When you create a {{Min}} constraint (it's ok for {{Max}}), you can add as many {{--value}}  attributes you want. You should only have *one* {{--value}}  :
> {code}
> [Item.java]$ constraint-add --onProperty description --constraint Min --
> --message  --onAccessor  --value  --payload  --groups
> [Item.java]$ constraint-add --onProperty description --constraint Min --value --
> --message  --value  --payload  --groups
> [Item.java]$ constraint-add --onProperty description --constraint Min --value --
> --message  --value  --payload  --groups
> [Item.java]$ constraint-add --onProperty description --constraint Min --value 12 --value 13 --
> --message  --payload  --groups
> [Item.java]$ constraint-add --onProperty description --constraint Min --value 12 --value 13 --
> {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