Staff cannot delete post that a user initiated a self-delete on

AI-generated summary

Issue with Staff Deleting Self-Deleted Posts

A discussion on the inability of staff to delete a post that a user has initiated a self-delete on has led to a resolution. jomaxro initially pointed out that when a user tries to delete their post, it is held for 24 hours before deletion, during which time staff cannot delete it immediately. codinghorror categorized this as a UI issue rather than a bug.

jomaxro discovered that if a user deletes their post and then flags it, the deletion timer stops, and staff cannot easily delete the post. A workaround was found, which involved flagging the post again and deleting it from the flag queue.

codinghorror requested that neil add this issue to their list, and neil subsequently made a fix to show the delete button to staff in this scenario.

Not sure of the history, so this may be a Contribute > Feature not a bug. If a user tries to delete their post by default the post is held for 24 hours before being deleted. While the deletion is pending, a mod/admin cannot delete the post immediately, like they can if the post is not pending deletion.

9 Likes

Is there anything in logs when this happens.

Not that I’ve seen. It’s been this way as long as I’ve been staff on any Discourse site. Never bothered me enough to report it. There’s no error, the delete button just doesn’t appear for staff to click.

1 Like

It’s basically a UI issue, not a bug, so recategorizing. It is true though.

1 Like

Ran into this again, here on Meta this time. A user deleted their post (triggering the 24 hour timer), then flagged their post. That stopped the deletion timer. However, I cannot easily delete the post now, there’s no delete option.

Workaround: flag the post again and delete it from the flag queue.

4 Likes

@neil can you add this to your list please. Repro is self deleted post that has been flagged, view as staff.

3 Likes

Ok we were hiding the button in that case. I made a fix to show it to staff.

5 Likes