Mover tópicos com votos para a categoria sem votos não libera votos

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.

thank you for your time!

5 curtidas

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.

4 curtidas

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.

Like what issues?

1 curtida

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.

1 curtida

I think best practice for now would be:

  • Make sure to close a topic before moving it to a category without the plugin.

Este ainda é um bug. Há alguma chance de ser corrigido?

Eu também tentei:

  • Mover o tópico de volta para a categoria de votação
  • Fechar o tópico
  • Mover para a categoria correta que não é de votação
  • Reabri-lo

E o voto ainda parece estar lá.

Olá @Luke_Cousins,

Corrigimos alguns casos extremos há alguns meses, é possível que ainda estejamos perdendo algum cenário, mas seria muito útil ter passos reproduzíveis para validar o problema.

Você está vendo isso em todos os tópicos movidos? Ou em algum cenário específico que você possa compartilhar?

Obrigado!

1 curtida

O tópico em que notei isso foi criado e movido em 17 de abril. Poderia ter sido corrigido desde então? Nós instalamos atualizações regularmente, então raramente ficamos mais de uma semana atrás do tests-passed.

Ainda estamos vendo esse problema na versão mais recente. Há planos para implementar isso?

Tentei reproduzir em meu site de teste e não consegui. Mover um tópico de uma categoria de votação para uma categoria sem votação devolveu o voto do meu usuário de teste.

Apenas para verificar se estou fazendo certo:

  • Habilite a votação de tópicos em uma categoria
  • Use o usuário de teste para votar em um tópico
  • Como administrador, recategorize o tópico para uma categoria sem votação
  • Como usuário de teste, vote em outro tópico e veja quantos votos restam nas informações no pop-up
1 curtida

Desculpe, você está certo, parece que apenas os votos antigos de tópicos que foram movidos antes da correção não são liberados. Desculpe pelo relatório incorreto.

1 curtida