From the docs for hook_entity_presave():

You can get the original entity object from $entity->original when it is an update of the entity.

I don't think ECK entities provide the original entity when updating.

Comments

imclean created an issue. See original summary.

imclean’s picture

Title: Add original entity object when updating for use in hook_entity_presave » Add original entity object when updating
rshafakian’s picture

Status: Active » Closed (cannot reproduce)

Did a fresh install of drupal and ECK. Created a custom module that implemented mymodule_entity_presave() that just spit out $entity->original. Created an entity through ECK and saw the output of $entity->original. Seems to be working.

I'm going to mark this closed, but if you still have this issue please provide details steps so we can reproduce this.