-
Notifications
You must be signed in to change notification settings - Fork 0
Description
If an object has had a find/replace operation performed on it and was later deleted you get errors:
Notice: Trying to get property of non-object in islandora_find_replace_operation_log() (line 40 of /var/www/drupal/sites/all/modules/islandora_find_replace/includes/log.inc).
Notice: Trying to get property of non-object in islandora_find_replace_operation_log() (line 40 of /var/www/drupal/sites/all/modules/islandora_find_replace/includes/log.inc).
Notice: Trying to get property of non-object in islandora_find_replace_operation_log() (line 42 of /var/www/drupal/sites/all/modules/islandora_find_replace/includes/log.inc).
Need to check for existence of object, determine how to refer to the object. Probable solution: print the PID with no link and (deleted) beside it.
E.g. "object:1 (deleted)"