We need to follow the changes of #651240: Allow modules to react to changes to an entity and provide $entity->original to presave/update hooks.

CommentFileSizeAuthor
#1 entity_changes.patch5.36 KBfago

Comments

fago’s picture

Status: Active » Needs review
StatusFileSize
new5.36 KB

attached patch implements that, including a test-case and some other test-improvements.

sun’s picture

Category: bug » task

Looks good. Though I'm not familiar with the test code yet, so can't mark RTBC.

drunken monkey’s picture

Category: task » bug

Patch looks good to me, great stuff! :D

drunken monkey’s picture

Category: bug » task

Sorry, sun.

fago’s picture

Status: Needs review » Fixed

thanks for reviewing, the tests should be fine (and work for me), thus I committed it.

Status: Fixed » Closed (fixed)

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