New user's that mark a solution cannot be deleted

Over on the Home Assistant Discourse server, we’ve had some issues detailed here, and @Heliosurge suggested that I create an issue here with the solved tag.

Problem:

When a new user creates a topic and a single reply marked as a solution, the user cannot be deleted from the review wizard. The server will return a 500 error. If the moderator goes in and removes the solution check, the user can be deleted.

To replicate:

  1. Create new user.
  2. Create Topic with any body
  3. Create Reply with any text.
  4. Mark reply as the solution.
  5. Flag the topic as spam for moderation.
  6. (as moderator) approve flag by choosing the option to delete the user (or delete block).
  7. A 500 server error will appear.
6 Likes

Thanks for the report, we will have a look at this over the next few weeks!

3 Likes