Updating date values doesn't refresh entitycache

By calling entity_save it works but creates a dependency on entity_api

Is there any other way?

Comments

tim.plunkett’s picture

Category: bug » feature
Status: Active » Needs review
StatusFileSize
new764 bytes

What about this? No need to care if they have entitycache, just check for entity_api, and no need to call both save functions I don't think.

hlykos’s picture

Reviewed and works great with and without entity_api.

If someone has entitycache and fullcalendar but not entity_api since it is not a dependency on neither will still have unsynced cache but that would be an issue for entity_api at this point.

Thanks for the quick response.

adamdicarlo’s picture

Status: Needs review » Reviewed & tested by the community

Patch works great for me, too; tested on a site with Entity API installed.

To make this work without Entity API, it could be hard-coded for core entities, at least, right? But I'm not sure it's worth doing that. That means more code to test/fail, and as is, this is RTBC...

tim.plunkett’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.