Closed rrullo closed 14 years ago
It's something to do with refreshing the controllers plugin that was done. This was originally put in to get command objects to work at all, but it seems to break the integration test which is weird. Maybe a bug was fixed in a later version of Grails?
// HACK: Couldn't get Command objects to work without it, load order didn't seem to help
manager.refreshPlugin('controllers')
Without that refresh the constraints are not applied to the Command objects. I think if we find the root cause of that (and don't need the refreshPlugin anymore) then we'll solve this problem as well.
This is fixed in the 0.5 release
I have created a simple grails-app that demonstrates that when the constraints plug-in is installed that my integration test fails and without it, it succeeds. The failure I get is specifically
I'm new to publishing to github so I'm not sure if this is the appropriate way to do this or not, but my demo testapp is available at http://dl.dropbox.com/u/6783272/constraints-test.zip.
Thanks! -Bob