Carelessly splitting a solved post to a new topic breaks things

AI-generated summary

The issue involves a bug where carelessly splitting a post marked as the solution to a new topic causes problems. pfaffman describes how moving a post marked as the solution to a new topic results in the original topic retaining the invalid solution and causes a 500 error when attempting to mark a new solution. lindsey notes this is resolved by a recent update that warns users when moving a solution post and automatically removes the solution status, preventing the issue.

I moved Misssing Profile Picture options from How to Change User Profile Picture.

Because I was careless, before I split it, I marked one of the soon-to-be-moved posts as the solution. @moin kindly and privately pointed out that this was not, in fact, a solution to the OP. So I split it. Now the new topic still has the no-longer-in-the-topic post marked as the solution and in the new topic, if I try to mark that post as the solution, I get a 500 error.

To reproduce:

  • create a topic with some posts
  • mark a post as the solution
  • move that post and some others to a new topic
  • now the original topic has a post that’s not in the topic marked as the solution
4 Likes

This is resolved by a recent update that will notify users when they attempt to move a post that is marked as the solution out of the topic:

If users choose to proceed, the post will no longer be marked as a solution and the previously solved topic will return to unsolved state.

4 Likes

This topic was automatically closed after 46 hours. New replies are no longer allowed.