When running the update and node level blocks are in the database for deleted nodes, you get the following error:

SQLSTATE[22004]: Null value not allowed: 1138 Invalid use of NULL value

This is due to the fact that deleted nodes don't have a vid (NULL) and the field is altered afterwards so it can't be NULL.

Comments

Nitebreed created an issue. See original summary.

nitebreed’s picture

Status: Active » Needs review
StatusFileSize
new591 bytes

PAtch attached

Johnny vd Laar’s picture

Status: Needs review » Fixed

I've commited your patch. Thank you for the fix!

Status: Fixed » Closed (fixed)

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