Error deleting users


(Michael - DiscourseHosting.com) #1

We have a forum where it is seemingly impossible to delete a user.
The user has 6 posts.

Pressing the ‘delete all posts’ button makes the ‘posts created’ count go to 0 and the ‘Delete User’ button appears.
However, that yields the error "There was an error deleting that user. Make sure all posts are deleted before trying to delete the user."
Refreshing the page makes the post count go back to six.

The AJAX request to /admin/users/(number)/delete_all_posts returns 200 OK, but no content. There is nothing in the logs.

Running on latest, no not on Docker, and no: I don’t think that matters :smile:

Any ideas? The posts in question look normal.


(Jeff Atwood) #2

This is something @neil is working on.


(Neil Lalonde) #3

That problem should be fixed as of today. The posts are deleted, but the post_count was wrong.


(Jeff Atwood) #4