Has anyone encountered this issue?

When a user that has issued a ticket gets deleted through the system interface, the 'Open' Tickets tab gets broken on the ticket(s) that the deleted user has issued. The error being:

Uncaught Error: Call to a member function getissuedby is null.

Is there a way to work around this besides re assigning a users' tickets before the user is deleted?

I am thinking of adding a condition before deleting the user and checking if he has issued tickets before allowing the deletion. Any leads to where i may get it?

Thank you very much

If you delete a user, then you also need to delete all their tickets. Or change the owner on all their tickets.

    ntozier I see.

    We have resolved to just remove the permission to delete users for all accounts.

    However upon checking, accounts with the 'delete users' checkbox unticked are still able to delete users.

    This is also odd.

    I would recommend that you upgrade to 1.10. 1.8 and 1.9 are both ancient and end of life at this point.

    Write a Reply...