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 „Gefällt mir“

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

1 „Gefällt mir“

Sure, it would be a good idea to warn!

5 „Gefällt mir“

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 „Gefällt mir“

Oh mein Gott…

OK, ich habe das gerade getestet, wir hinterlassen die Nachrichten tatsächlich verwaist. Wir sollten den Text hier ändern:

Das Löschen dieser Gruppe führt dazu, dass 78 Nachrichten verwaist werden. Gruppenmitglieder haben keinen Zugriff mehr darauf.

Sind Sie sicher?"}

6 „Gefällt mir“

Dies ist nun im folgenden PR behoben

https://github.com/discourse/discourse/pull/11727

3 „Gefällt mir“