It appears that when a topic with votes is moved to another category, where voting is not enabled, the votes are not being returned to the owners. Is this a bug or an intended behaviour?
Additionally, there are edge cases where closing a topic doesn’t automatically return the votes to the user.
I’ve just tested this on my local development site and can confirm that votes are not being returned to the user when a topic is moved to a category that does not allow for votes. This doesn’t seem ideal to me, but I’m not sure if it’s the intended behaviour or not. The only alternative I can think of is that if a topic is moved to a category that does not allow voting, all votes should be removed from the topic. There would be potential issues with this approach as well.
If you know of any specific ways of reproducing the edge cases, let us know. I can look into this some more next week.
I’m also needing to release votes after moving a topic to a non-voting category. As it is, moving a topic with votes to a non-voting category risks destroying the voting system imo because the larger a database the more difficult/tedious it would be for moderators to manually ensure users don’t “lose” voting power. If 10 votes were allowed, and two topics I voted on got moved to a non-voting category without releasing their votes, I’d lose 20% of my global voting power.
The first one that came to mind was that if a topic was mistakenly recategorized (say by a TL3 user) all votes would be lost when it was put back to the correct category.
\n\nEsto sigue siendo un error. ¿Hay alguna posibilidad de que se corrija?\n\nTambién he intentado:\n- Mover el tema de nuevo a la categoría de votación\n- Cerrar el tema\n- Moverlo a la categoría correcta que no es de votación\n- Reabrirlo\n\nY el voto todavía parece estar ahí.
Hemos corregido algunos casos extremos hace un par de meses, es posible que todavía nos falte algún escenario, pero sería de gran ayuda tener pasos reproducibles para validar el problema.
¿Lo estás viendo en cada tema movido? ¿O en algún escenario en particular que puedas compartir?
El tema en el que noté esto se creó y se movió el 17 de abril. ¿Podría haberse solucionado desde entonces? Instalamos actualizaciones regularmente, por lo que rara vez estamos más de una semana o así por detrás de tests-passed.
He intentado reproducirlo en mi sitio de prueba y no he podido. Mover un tema de una categoría de votación a una categoría que no es de votación devolvió el voto a mi usuario de prueba.
Solo para comprobar que lo estoy haciendo bien:
Habilitar la votación de temas en una categoría
Usar un usuario de prueba para votar un tema
Como administrador, reclasificar el tema a una categoría que no sea de votación
Como usuario de prueba, votar otro tema y ver cuántos votos le quedan en la información del pop-up
Lo siento, tienes razón, parece que solo los votos antiguos de temas que se movieron antes de la corrección no se publican. Lamento el informe erróneo.