Skip to content

GPMONGODB-2: Wrong nullable:false behaviour with MongoDB-M4 #185

@graemerocher

Description

@graemerocher

Original Reporter: alari
Environment: Grails 1.3.7, mongodb-M4
Version: Not Specified
Migrated From: http://jira.grails.org/browse/GPMONGODB-2

class User {
ObjectId id
User user
static constraints = {user nullable: true}
}

Object can't be created without defined relative property. Says null is not valid.
Relation class doesn't matter, it may be self-relation or outer one.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions