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 Mi Piace

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

4 Mi Piace

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 Mi Piace

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 Mi Piace

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 Mi Piace

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).

Abbiamo risolto questo problema assicurando che se un post di soluzione viene spostato fuori dall’argomento, l’argomento torni allo stato non risolto.

L’utente che sposta il post di soluzione viene informato dell’impatto prima di completare l’azione di spostamento:

4 Mi Piace

Per me, questo sembra una correzione per Carelessly splitting a solved post to a new topic breaks things

Non sembra risolvere il problema descritto nell’OP che parla di un intero argomento spostato in un’altra categoria dove le soluzioni non sono abilitate, non dello spostamento di alcuni post in un nuovo argomento. Quando sposto `personal_messages:username` search filter doesn't work, che è un argomento risolto, in Feature dove le soluzioni non sono consentite, la soluzione non viene rimossa e non c’è alcun avviso.

Affronta questo problema:

[quote=“fhe, post:5, topic:58385”]Un argomento contrassegnato come soluzione che viene spostato fuori da una categoria con soluzioni rimane contrassegnato come soluzione (e non può essere deselezionato come tale)

[/quote]

Ma vedo che c’è altro nel problema, quindi possiamo tenerlo aperto.

Hmm, non capisco ancora. Non è quello che ho appena provato?

Un argomento contrassegnato come soluzione

Ho scelto questo argomento che era stato contrassegnato come risolto `personal_messages:username` search filter doesn't work

che viene spostato fuori da una categoria con soluzioni

L’ho spostato in Feature dove le soluzioni non sono abilitate

rimane contrassegnato come soluzione (e non può essere deselezionato come tale)

Ed era ancora contrassegnato come risolto. Cosa è cambiato in questo processo con la correzione?

2 Mi Piace

Mi dispiace, ora capisco cosa intendi. Stavo leggendo questo in modo errato, come un post contrassegnato come soluzione che viene spostato fuori da una categoria.

Comunque, metterò in coda questa correzione, perché penso che dovrebbe essere un piccolo miglioramento al lavoro che abbiamo fatto con il post risolto.

3 Mi Piace

Abbiamo aggiornato questo comportamento in modo che quando un argomento risolto viene spostato in una categoria che non supporta le soluzioni, la soluzione accettata verrà rimossa dall’argomento. Notificheremo gli amministratori prima che completino lo spostamento:

5 Mi Piace

Questo argomento è stato chiuso automaticamente dopo 2 giorni. Non sono più ammesse nuove risposte.