Deleting subsequent moderated message from deleted user, fails

AI-generated summary

A bug has been reported where deleting a subsequent moderated message from a deleted user fails. The steps to reproduce are:

  1. A spammer submits two posts.
  2. The most recent post is deleted and the user is blocked.
  3. Another post is deleted and the user is blocked again, resulting in a “URL or resource could not be found” error.

sam has acknowledged the issue and suggested a PR to improve the error message to “User is already deleted and blocked”.

  1. Have a spammer submit two posts
  2. On the most recent post, click Delete → Delete & Block User
  3. On another post, click Delete → Delete & Block User

Error (understandably): “The requested URL or resource could not be found.”

3 Likes

Seems legit, putting a pr-welcome on this.

We do have message bus wired to the moderation dialog, but I am guessing we are just not raising the proper event from the server side to update this life.

At a minimum a PR to improve the error message to:

“User is already deleted and blocked”

May be enough here.

1 Like

A post was merged into an existing topic: “An error occurred: The requested URL or resource could not be found.” when trying to delete user in moderation queue