Original Reporter: wangjammer5
Environment: Not Specified
Version: 1.0.0-M5
Migrated From: http://jira.grails.org/browse/GPMONGODB-39
I have a domain class like this:
{code}
class Book {
Author primaryAuthor
static hasMany = [authors:Author]
}
{code}
When a Book has a primaryAuthor set but no elements in authors, and you view this book in scaffolding, it shows "authors" as having 1 element, and renders the JSON of the primaryAuthor.
Very strange...