Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPMONGODB-174: transient field serialize #152

Closed
graemerocher opened this issue Feb 1, 2012 · 0 comments
Closed

GPMONGODB-174: transient field serialize #152

graemerocher opened this issue Feb 1, 2012 · 0 comments

Comments

@graemerocher
Copy link
Member

Original Reporter: rainbow
Environment: Not Specified
Version: 1.0.0.RC3
Migrated From: http:https://jira.grails.org/browse/GPMONGODB-174

I think the transient field do not need to serialize. but it want to serialize now.
Some services which in domain-classes do not need to save in mongodb, but it will save now.
example:
I use spring-security-core, the Person.groovy has springSecurityService field, and I give transient on it, but when I use myperson.save(), the message "Message: can't serialize class grails.plugins.springsecurity.SpringSecurityService" will be there.

I create a test app, grails test-app can see the exception.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant