Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-1505 Perform a review of Forge 2.CR
  3. FORGE-1480

Mulitple --value parameters for Min constraint

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Done
    • Major
    • 2.0.0.Final
    • 2.0.0.CR2
    • UI - Shell
    • None

    Description

      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 :

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

      Attachments

        Activity

          People

            lincolnthree Lincoln Baxter III (Inactive)
            agoncal Antonio Goncalves (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: