Grails
  1. Grails
  2. GRAILS-8423

Missing Method Exception in Integration Tests for domain with constraint unique: true on save in BootStrap

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 2.0 final
    • Component/s: Testing
    • Labels:
      None
    • Environment:
      OSX
    • Testcase included:
      yes

      Description

      When saving a domain with a constraint unique: true in from the Bootstrap during integration tests, a groovy.lang.MissingMethodException is thrown.

      Run "test-app" on the attached project. Unit test will fail (didn't change it), then a missingMethodException is thrown from the Bootstrap.

      Does not happen when unit tests are not run against the class with the constraint. (See the second bug report.)

        Activity

        Hide
        Alex Weino added a comment -
        Show
        Alex Weino added a comment - Related to: http://jira.grails.org/browse/GRAILS-8389

          People

          • Assignee:
            Unassigned
            Reporter:
            Alex Weino
          • Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development