Skip to content
This repository was archived by the owner on Dec 11, 2024. It is now read-only.

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 apache/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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants