This module throws an error in cron if there is scheduled action for an entity that has been deleted. This problem stops other scheduled actions from happening if the error comes before them.

I will attach a patch that does 2 things

  1. Checks in schedule_actions_cron that $object !== FALSE. FALSE will be returned from the load functions dont't return an entity. Can't check !empty b/c system type is set to NULL
  2. implements hook_entity_delete and deletes an actions for delete entities

Patch next......

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

tedbow’s picture

Status: Active » Needs review
FileSize
2.87 KB

patch attached.

slashrsm’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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