Deleting a group makes all it's messages "lost"

When I delete a group it moves it’s messages to be private messages with only the one that sent it, effectively making them “lost”. (In this case I wanted to see what happened), maybe discourse should warn about this, or not allow without moving them out first?

5 curtidas

Not sure what a good way to handle this is @sam?

1 curtida

Sure, it would be a good idea to warn!

5 curtidas

Sorry for the real real real slow reply here.

@vinothkannans can you review how this is working now? If it is still an edge case just pop up a bootbox on group deletion warning users that bad stuff will happen.

@carlokok if you are hunting for the messages one thing you can do is use a data explorer query.

5 curtidas

Oh meu Deus…

OK, acabei de testar isso e, de fato, ainda estamos deixando as mensagens órfãs. Devemos alterar o texto aqui:

A exclusão deste grupo deixará 78 mensagens órfãs, e os membros do grupo não terão mais acesso a elas.

Tem certeza?

6 curtidas

Isso já foi corrigido no PR abaixo

3 curtidas