Details
Description
I can't seem to get the CommonsMultipartResolver up and running. I am using Grails 2.0.0 and inject a custom CommonsMultipartResolver implementation using the resources.groovy. I confirmed the bean is being loaded and disable the multipartResolver from the Grails controllers plugin using grails.disableCommonsMultipart = true in config. This used to work perfectly well in Grails 1.3.7.
Key problem: multipart uploading doesn't trigger my custom multipartResolver
Key facts:
- grails.disableCommonsMultipart is set to true
- using Grails 2.0.0, used to work in 1.3.7
- multipartResolver registered using resources.groovy and confirmed being loaded
- developer tools of browser showing multipart/formdata as content-type (and that mime-type is registered with config as well as being formdata)
another hint: even request.multipartFiles is null in my upload controller (that used to work under 1.3.7)