onEntityDelete and onEntityRevisionDelete do not work properly. This patch seems to fix some bugs for me. When deleting a field onFieldDelete does not seems to (always?) be called - onEntityDelete is, but throws a fatal error as it expects the entity ID to always be an integer. Also added a dependency in the install file that fixed an error when installing this with drush.

Comments

patrickharris created an issue. See original summary.

patrickharris’s picture

Issue summary: View changes
StatusFileSize
new3.27 KB
patrickharris’s picture

StatusFileSize
new3.66 KB
patrickharris’s picture

Issue summary: View changes
patrickharris’s picture

StatusFileSize
new3.94 KB
Rostislav Sergeenkov’s picture

Assigned: Unassigned » veranika_biblis

  • veranika_biblis committed 4dcbc2a on 8.x-1.x
    Issue #3096726 by patrickharris, Rostislav Sergeenkov: onEntityDelete...
veranika_biblis’s picture

Status: Active » Needs review
Rostislav Sergeenkov’s picture

Rostislav Sergeenkov’s picture

Status: Needs review » Fixed
Rostislav Sergeenkov’s picture

Status: Fixed » Closed (fixed)