Pending user self-disable entry does not get cancelled if user is deleted meanwhile

SeToY

Member
Reactions
3
Hi there,

scenario:
  • User requests self-disable
  • Self-disable is pending
  • During pending self-disable, an admin deletes the user
  • The self-disable entry is still pending and doesn't get cancelled / completed / handled in any way

Manually trying to cancel results in error modal:
Oops! We ran into some problems. The requested page could not be found.
 
This should work, as the items are added to the deleted user cleanup queue. But I'll investigate.

I did spot that user merging would forget the records instead of resigning them to the user.
 
Fixed for next version. The code for this was there, it just wasn't hooked up to the XF event it needed to listen for :(
 
Thanks for the quick fix. I think some of the cleanup logic was still called, because the self-disable request I was referring to in my opening post has vanished over night.
 

Users who are viewing this thread

Back
Top