The discussion addresses a bug where moving a solved topic to a category that disallows solutions failed to remove the “solved” status. codinghorror initially reported the issue, noting that topics moved out of categories with solutions retained their solved markers. sam agreed to the cleanup, and bekicot submitted a PR adding a plugin hook to handle category changes. tgxworld suggested using a model callback instead of a new event trigger. fhe and nildarar confirmed the issue persisted, explaining that admins could not uncheck the solution after moving the topic to an incompatible category. lindsey initially claimed a fix was in place, but Moin clarified that the previous fix only addressed moving individual posts, not entire topics. lindsey acknowledged the misunderstanding and lindsey committed to fixing the topic-level issue. Finally, lindsey confirmed the behavior was updated: when a solved topic is moved to a category without solution support, the accepted solution is automatically removed, and admins receive a notification before the move is completed.
I was just curious but is it possible to avoid adding a DiscourseEvent trigger and just add a model callback which checks when the category_id has been changed?
답변 중 하나가 정답으로 잘못 표시된 경우, 관리자는 카테고리가 잘못되었음을 확인하고 해당 주제를 다른 카테고리로 이동시킵니다. 그러나 새로운 카테고리에서 이 기능이 비활성화되어 있어도, 표시된 답변은 여전히 정답으로 표시됩니다.
이러한 경우, 관리자는 표시된 답변을 취소할 수 없습니다. 이 기능이 활성화된 카테고리로 카테고리를 변경해야 합니다. 정답을 취소한 후 다시 카테고리를 변경해야 합니다.
관리자가 모든 카테고리(이 기능이 비활성화된 카테고리 포함)에서 정답을 취소할 수 있다면 조금 더 쉬울 것입니다.