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

**URL:** https://meta.discourse.org/t/deleting-a-group-makes-all-its-messages-lost/40217
**Category:** Bug
**Created:** [2월 26, 2016, 8:52오전 UTC](https://meta.discourse.org/t/deleting-a-group-makes-all-its-messages-lost/40217 "2016-02-26T08:52:44Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![carlokok](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/carlokok/32/115951_2.png) [@carlokok](https://meta.discourse.org/u/carlokok)
#### Post date: [2월 26, 2016, 8:52오전 UTC](https://meta.discourse.org/t/deleting-a-group-makes-all-its-messages-lost/40217/1 "2016-02-26T08:52:44Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [8월 3, 2016, 5:33오전 UTC](https://meta.discourse.org/t/deleting-a-group-makes-all-its-messages-lost/40217/2 "2016-08-03T05:33:06Z")

</div>

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

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [8월 3, 2016, 5:45오전 UTC](https://meta.discourse.org/t/deleting-a-group-makes-all-its-messages-lost/40217/3 "2016-08-03T05:45:10Z")

</div>

Sure, it would be a good idea to warn!

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [1월 10, 2020, 4:16오전 UTC](https://meta.discourse.org/t/deleting-a-group-makes-all-its-messages-lost/40217/4 "2020-01-10T04:16:19Z")

</div>

정말 정말 정말 늦게 답변드려서 죄송합니다.

@vinothkannans 지금 이 기능이 어떻게 작동하는지 검토해 주실 수 있을까요? 만약 여전히 엣지 케이스라면, 그룹 삭제 시 "나쁜 일이 일어날 것"이라는 경고와 함께 부트박스(bootbox)를 띄우는 방식으로 처리하면 됩니다.

@carlokok 메시지를 추적하고 계신다면, 데이터 탐색기([data explorer](https://meta.discourse.org/t/32566?silent=true)) 쿼리를 사용하는 방법을 활용할 수 있습니다.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [11월 4, 2020, 1:04오전 UTC](https://meta.discourse.org/t/deleting-a-group-makes-all-its-messages-lost/40217/6 "2020-11-04T01:04:11Z")

</div>

아니, 정말…

자, 방금 이 기능을 테스트해 봤는데, 실제로 여전히 메시지들이 고아(Orphan) 상태가 됩니다. 여기 텍스트를 변경해야 해요:

 ![image](https://global.discourse-cdn.com/meta/original/3X/a/c/ac0f33c0757ffe8c81c43752e987742f76cae70f.png)

> 이 그룹을 삭제하면 78개의 메시지가 고아 상태가 되며, 그룹 멤버들은 더 이상 해당 메시지에 접근할 수 없습니다.
> 
> 정말 삭제하시겠습니까?

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [1월 15, 2021, 3:47오후 UTC](https://meta.discourse.org/t/deleting-a-group-makes-all-its-messages-lost/40217/7 "2021-01-15T15:47:10Z")

</div>

아래 PR에서 이제 수정되었습니다

> <https://github.com/discourse/discourse/pull/11727>
>
> Currently, after destroying a group its messages are inaccessible to everyone. O…nly admins can access using direct URLs.

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [1월 22, 2021, 1:58오전 UTC](https://meta.discourse.org/t/deleting-a-group-makes-all-its-messages-lost/40217/8 "2021-01-22T01:58:18Z")

</div>


