Found a hook_entity_deleted in sessions.js that is meant to be there to clear the session of a user if their user account is deleted. It wasn't checking entity type though so was deleting any sessions where the userid matched the eid of the deleted entity (page 1 in the case of issue #246 ). The hook also wasn't closed, stopping any subsequent hook_entity_deleted hooks. It's been there since January, glad to have worked out what it was.
While I was there also found that the entity delete form in entity UI was old pre-form system code. I've replaced it with a form.
Found a hook_entity_deleted in sessions.js that is meant to be there to clear the session of a user if their user account is deleted. It wasn't checking entity type though so was deleting any sessions where the userid matched the eid of the deleted entity (page 1 in the case of issue #246 ). The hook also wasn't closed, stopping any subsequent hook_entity_deleted hooks. It's been there since January, glad to have worked out what it was.
While I was there also found that the entity delete form in entity UI was old pre-form system code. I've replaced it with a form.