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 Me gusta

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

4 Me gusta

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 Me gusta

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 Me gusta

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 me gusta

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

Hemos abordado esto asegurando que si una publicación de solución se mueve fuera del tema, el tema vuelve al estado no resuelto.

Se notifica al usuario que mueve la publicación de solución sobre el impacto antes de que complete la acción de mover:

4 Me gusta

Para mí, eso parece una corrección para Carelessly splitting a solved post to a new topic breaks things

No parece solucionar el problema descrito en el OP, que habla de mover un tema completo a otra categoría donde las soluciones no están habilitadas, no de mover algunas publicaciones a otro tema. Cuando muevo `personal_messages:username` search filter doesn't work, que es un tema resuelto, a Feature donde no se permiten soluciones, la solución no se elimina y no hay advertencia.

Aborda este problema:

[quote=“fhe, post:5, topic:58385”]Un tema marcado como solución que se mueve fuera de una categoría con soluciones permanece marcado como solución (y no se puede desmarcar como tal)

[/quote]

Pero puedo ver que hay más en el problema, así que podemos mantenerlo abierto.

Mmm, todavía no lo entiendo. ¿No es eso lo que acabo de intentar?

Un tema marcado como solución

Elegí este tema que estaba marcado como resuelto `personal_messages:username` search filter doesn't work

que se mueve fuera de una categoría con soluciones

Lo moví a Feature donde las soluciones no están habilitadas

permanece marcado como solución (y no se puede desmarcar como tal)

Y todavía estaba marcado como resuelto. ¿Qué cambió la corrección en este proceso?

2 Me gusta

Lo siento, ahora veo a qué te refieres. Estaba leyendo esto mal, como una publicación marcada como solución que se mueve fuera de una categoría.

Sin embargo, pondré esta en cola para arreglarla, porque creo que debería ser una pequeña mejora al trabajo que hicimos con la publicación resuelta.

3 Me gusta

Hemos actualizado este comportamiento para que cuando un tema resuelto se mueva a una categoría que no admite soluciones, la solución aceptada se eliminará del tema. Notificaremos a los administradores de esto antes de que completen la migración:

5 Me gusta

Este tema se cerró automáticamente después de 2 días. Ya no se permiten nuevas respuestas.