4. When you click Create, observe that the browser tries to download a file to your system. (See attached screen shot.)
Note - This problem does not occur if you remove the constraints or if you use static scaffolding.
Description
1. Create a new app with the following classes:
class Author {
String name
static constraints = {
name(blank:false)
}
}
class AuthorController {
def scaffold = Author
}
2. grails run-app
3. Try to create a new author (http://localhost:8080/library/author/create) without entering an author name
4. When you click Create, observe that the browser tries to download a file to your system. (See attached screen shot.)
Note - This problem does not occur if you remove the constraints or if you use static scaffolding.
GRAILS-928andGRAILS-937appear to be related