http://jira.grails.org/browse/GRAILS-10023
http://jira.grails.org/browse/GRAILS-10027