Grails
  1. Grails
  2. GRAILS-5101

Compound "unique" constraints incorrectly pass validation if one of the fields is null

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.2-M2, 2.2.3
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Testcase included:
      yes

      Activity

      Hide
      Graeme Rocher added a comment -

      There is no scope / time to resolve these remaining lower priority issues for 1.2 so moving to 1.3

      for 1.2 final only issues considered blocking will now be fixed

      Show
      Graeme Rocher added a comment - There is no scope / time to resolve these remaining lower priority issues for 1.2 so moving to 1.3 for 1.2 final only issues considered blocking will now be fixed
      Hide
      Benjamin R. Doerr added a comment - - edited

      Unit tests at least still show that this is an issue in 1.3.7. Could this be scoped for 2.0?

      Show
      Benjamin R. Doerr added a comment - - edited Unit tests at least still show that this is an issue in 1.3.7. Could this be scoped for 2.0?
      Hide
      James Kleeh added a comment -

      I was still having this issue very recently and it was a pain to work around. Any chance this can get fixed?

      Show
      James Kleeh added a comment - I was still having this issue very recently and it was a pain to work around. Any chance this can get fixed?
      Hide
      allnightlong added a comment -

      +1 for fix this bug (although it seems more like hibernate issue)

      Show
      allnightlong added a comment - +1 for fix this bug (although it seems more like hibernate issue)
      Hide
      Malte Huebner added a comment -

      Still an issue in Grails 2.2.3

      Show
      Malte Huebner added a comment - Still an issue in Grails 2.2.3

        People

        • Assignee:
          Unassigned
          Reporter:
          Marc Palmer
        • Votes:
          17 Vote for this issue
          Watchers:
          16 Start watching this issue

          Dates

          • Created:
            Updated:
            Last Reviewed:

            Development