Skip to content

GPMONGODB-25: Enumerated types don't persist and dynamic finders don't work #432

@graemerocher

Description

@graemerocher

Original Reporter: nugsie
Environment: Linux, Ubuntu 10.10, Java 6 (openjdk), Grails 1.7.3
Version: 1.0.0-M5
Migrated From: http://jira.grails.org/browse/GPMONGODB-25

See attached testcase.

Domain objects with enum properties are persisted to the database WITHOUT the enumerated property. The actual save operation completes but looking in the database, there is no field created for the enum property and a basic equality check of the persisted object against the one returned from the save operation fails though the id property matches (see testcase).

Additionally, finders for enum properties do not work - throwing a "can't serializa class" error - presumably a connected issue to do with the (lack of) mapping of the enumerated property?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions