With those domain class
class Foo {
Bar bar
static embedded = [ 'bar' ]
}
class Bar {
String name
}
And a controller
class FooController {
static scaffold = Foo
}
I got a error whe accessing /foo/create
java.lang.nullpointerexception cannot get property 'name' on null object
I see that there's a bug in open for that http://jira.grails.org/browse/GPSCAFFOLD-28
As there is no planned fix version for now, is there any workaround?