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

Fix for issues with lastUpdated and dateCreated #98

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

felipecao
Copy link

As per the comments on #62 and grails/grails-core#642, this doesn't seem to be an issue with ElasticSearch itself, seems more like an issue with DataBindingUtils on grails-core.

Anyway, I've implemented this workaround to handle Date and DateTime attributes that could not be bound by DatabindingApi. I'm not sure I've used the best approach, comments and suggestions are very welcome! :)

@addmaths07
Copy link

It fails for the transient properties of domain, i suggest check for the persisted properties only

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

Successfully merging this pull request may close these issues.

2 participants