Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-1491 Perform a review of Forge 2.x
  3. FORGE-1537

Able to create a constraint on a non existing field

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • 2.1.0.Final
    • 2.0.0.Final
    • Scaffold
    • None

      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 :

      [Artist.java]$ constraint-add --onProperty dummy --constraint NotNull
      ***SUCCESS*** Constraint NotNull successfully configured
      

      dummy doesn't exist, so it adds NotNull to other attributes

              rhn-support-ggastald George Gastaldi
              agoncal Antonio Goncalves (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: