Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scaffolding does not correctly handle multipart forms #118

Open
pledbrook opened this issue Feb 2, 2015 · 0 comments
Open

Scaffolding does not correctly handle multipart forms #118

pledbrook opened this issue Feb 2, 2015 · 0 comments

Comments

@pledbrook
Copy link
Contributor

This is a Grails issue. The scaffolding doesn't handle requests of type multipartForm, only form. So when a user updates a user profile with an image, Grails attempts to load a save or update view. Neither of which exist.

A quick fix is to register the multipart form content type against form rather than multipartForm. Another option is to modify the scaffolding to handle multipartForm correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant