If you have pathauto the webform_entity_pages_webform_submission_delete() function tries to execute a function that is removed:



/**
 * Implements hook_webform_submission_delete().
 */
function webform_entity_pages_webform_submission_delete($node, $submission) {
  if (module_exists('pathauto')) {
    if (in_array($node->type, array_keys(webform_entity_get_types()))) {
      module_load_include('inc', 'webform_entity_pages', 'webform_entity_pages.pathauto');
      webform_entity_pages_delete_alias($submission);
    }
  }
}

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

emattias created an issue. See original summary.

emattias’s picture

Status: Active » Needs review
FileSize
930 bytes

This patch removes the webform_entity_pages_webform_submission_delete implementation. I tried to find the webform_entity_pages_delete_alias() function in the repo history, but didn't. :(

AaronBauman’s picture

Status: Needs review » Needs work

Can someone confirm that this function doesn't get fired via Entity API when a submission is deleted?