When moving a solved topic to a category that disallows solutions, remove solved

I’ve seen this too when moving topics out of a category where solved was set, any way to fix this @sam?

  • When moving a topic out of a category with solutions, remove solved stuff

  • When moving a topic into a category with solution, make solved possible

「いいね!」 2

Agree, we should get this cleaned up, for now pr-welcome

「いいね!」 4

Added Trigger DiscourseEvent when topic category is changed by bekicot · Pull Request #4785 · discourse/discourse · GitHub, so that plugin can hook into :topic_category_changed. I think it is required in order to fix this issue.

「いいね!」 5

Thanks for the PR @bekicot :thumbsup:

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?

「いいね!」 2

Seems like this is still happening.

A topic marked as solution which is moved out of a category with solutions remains marked as solution (and cannot be unchecked as such)

「いいね!」 1

When one of the replies is marked incorrectly as the correct answer, then the admin sees that the category is wrong and moves the topic to another category. The marked replay is still displayed as the correct answer, even if this feature is not enabled in the new category.
In these cases, the admin can not cancel the marked replay. It should change the category to where this feature is enabled. Cancel the correct answer and change the category again.

It would be a little easier if managers could cancel the correct answer in all categories (even those with this feature turned off).

ソリューション投稿がトピック外に移動された場合、トピックが未解決の状態に戻るようにすることで、この問題に対処しました。

ソリューション投稿を移動するユーザーには、移動アクションを完了する前にその影響が通知されます。

「いいね!」 4

私にとっては、これは Carelessly splitting a solved post to a new topic breaks things の修正のように見えます。

これは、OPで説明されている問題、つまりトピック全体が解決策が無効になっている別のカテゴリに移動されるという問題は修正していないように見えます。これは、いくつかの投稿を別のトピックに移動することに関するものではありません。解決策が許可されていないカテゴリである Feature`personal_messages:username` search filter doesn't work を移動すると、解決策は削除されず、警告も表示されません。

この問題に対処しています。

しかし、問題はこれだけではないようなので、この件はオープンにしておきましょう。

うーん、まだ理解できません。それは私が試したことではないのですか?

ソリューションとしてマークされたトピック

解決済みとしてマークされていたこのトピックを選択しました `personal_messages:username` search filter doesn't work

ソリューションが有効になっていない Feature に移動しました

ソリューションが有効になっていない Feature に移動しました

ソリューションとしてマークされたまま(そしてそのようにチェックを外すことができない)

それでも解決済みとしてマークされていました。このプロセスで修正によって何が変わったのですか?

「いいね!」 2

すみません、今おっしゃっていることがわかりました。私はこれを、カテゴリから移動された「解決済み」としてマークされた投稿として誤って読んでいました。

しかし、これは修正するためにキューに入れます。これは、解決済み投稿で行った作業に対する小さな改善になるべきだと思います。

「いいね!」 3

解決済みのトピックがソリューションをサポートしていないカテゴリに移動された場合、承認済みのソリューションがトピックから削除されるように、この動作を更新しました。移動を完了する前に管理者に通知します。

「いいね!」 5

このトピックは2日後に自動的にクローズされました。新しい返信は許可されていません。