# Moving posts to new PM did not invite all participants

**URL:** https://meta.discourse.org/t/moving-posts-to-new-pm-did-not-invite-all-participants/108714
**Category:** Bug
**Created:** [8 februari 2019 om 20:32 UTC](https://meta.discourse.org/t/moving-posts-to-new-pm-did-not-invite-all-participants/108714 "2019-02-08T20:32:49Z")
**Posts on this page:** 16
**Page:** 1

<div class="post-metadata">

### Author: ![danekhollas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/danekhollas/32/79637_2.png) [@danekhollas](https://meta.discourse.org/u/danekhollas)
#### Post date: [8 februari 2019 om 20:32 UTC](https://meta.discourse.org/t/moving-posts-to-new-pm-did-not-invite-all-participants/108714/1 "2019-02-08T20:32:49Z")

</div>

Hi all,

let me just preface the new interface for moving posts around is great. ☀

But, I got recently burnt when moving posts from a topic to a new PM. I moved around 6 post from 3 different people (one of them me), but only two of them got invited to the PM. What tricked me was that the third person’s avatar was actually listed as a poster in the footer below the OP…

 ![image](https://global.discourse-cdn.com/meta/original/3X/9/4/9498a3e30a0248a54e843d10d8aeb02bd9c9a6ba.png)

but I did not notice that she was not in the list of PM participants just bellow

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

Can anyone reproduce this problem? Or did I hit some weird edge case?

Thanks!

---

<div class="post-metadata">

### Author: ![JagWaugh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagwaugh/32/69335_2.png) [@JagWaugh](https://meta.discourse.org/u/JagWaugh)
#### Post date: [8 februari 2019 om 21:21 UTC](https://meta.discourse.org/t/moving-posts-to-new-pm-did-not-invite-all-participants/108714/13 "2019-02-08T21:21:53Z")

</div>

I can confirm this. Today I changed a public topic with about 5 users and 9 posts. Only 2 of the users, as well as myself were invited.

---

<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 februari 2019 om 22:31 UTC](https://meta.discourse.org/t/moving-posts-to-new-pm-did-not-invite-all-participants/108714/14 "2019-02-08T22:31:53Z")

</div>

Can you repro this @rishabh?

---

<div class="post-metadata">

### Author: ![rishabh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rishabh/32/179446_2.png) [@rishabh](https://meta.discourse.org/u/rishabh)
#### Post date: [9 februari 2019 om 12:42 UTC](https://meta.discourse.org/t/moving-posts-to-new-pm-did-not-invite-all-participants/108714/15 "2019-02-09T12:42:20Z")

</div>

I could not repro this on my dev install with a topic that had mods, admins and regular users.  
I’ll now test on this topic itself, sorry about the notification(s).

 ![Screenshot%20from%202019-02-09%2017-53-39](https://global.discourse-cdn.com/meta/original/3X/2/d/2d166c4ebeb77eec960bd4d7ca6e070ac99b1a6c.png)

* * *

No repro on this Meta topic too ⬇

 ![Screenshot%20from%202019-02-09%2018-13-21](https://global.discourse-cdn.com/meta/original/3X/5/1/51ea996624c4d3ec5fad3e22b66eac54c1026bc4.png)

@JagWaugh @danekhollas Can you think of anything that’s possibly unusual about these users or topics that might hit an edge case?

---

<div class="post-metadata">

### Author: ![rishabh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rishabh/32/179446_2.png) [@rishabh](https://meta.discourse.org/u/rishabh)
#### Post date: [9 februari 2019 om 13:03 UTC](https://meta.discourse.org/t/moving-posts-to-new-pm-did-not-invite-all-participants/108714/16 "2019-02-09T13:03:42Z")

</div>

Okay, I just reproduced this on a topic on [try.discourse.org](http://try.discourse.org):

> **[What is your favorite TED Video](https://try.discourse.org/t/what-is-your-favorite-ted-video/97)**
>
> Which TED Video do you find particularly inspiring? (just post a link, we will do the rest)

There were 10 participants in the topic but only two of them (the originator + the person performing the conversion) were in the list of participants after converting to a PM.

 ![Screenshot%20from%202019-02-09%2018-28-34](https://global.discourse-cdn.com/meta/original/3X/e/a/ea006296599c91e3e6ea8e32314725a866ca0016.png)

---

<div class="post-metadata">

### Author: ![JagWaugh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagwaugh/32/69335_2.png) [@JagWaugh](https://meta.discourse.org/u/JagWaugh)
#### Post date: [9 februari 2019 om 13:09 UTC](https://meta.discourse.org/t/moving-posts-to-new-pm-did-not-invite-all-participants/108714/17 "2019-02-09T13:09:44Z")

</div>

> [@rishabhn](#):
>
> anything that’s possibly unusual

No. The topic wasn’t particularly old, or long, and it didn’t have all that many users.

Here’s the summary:

 ![image](https://global.discourse-cdn.com/meta/original/3X/0/b/0bdc5215cb96976e63a03cc35d243f81a51946a2.png)

Only the originator of the topic and myself were included in the PM.

I can’t remember now if I selected all the posts separately, or did it at the topic level - in any case all of the posts were in the PM.

---

<div class="post-metadata">

### Author: ![danekhollas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/danekhollas/32/79637_2.png) [@danekhollas](https://meta.discourse.org/u/danekhollas)
#### Post date: [9 februari 2019 om 13:24 UTC](https://meta.discourse.org/t/moving-posts-to-new-pm-did-not-invite-all-participants/108714/18 "2019-02-09T13:24:09Z")

</div>

Not really ☹ In my case all three users were mods. And I was moving from a post in a private category (restricted to certain group).

---

<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: [9 februari 2019 om 23:05 UTC](https://meta.discourse.org/t/moving-posts-to-new-pm-did-not-invite-all-participants/108714/19 "2019-02-09T23:05:07Z")

</div>

Try data and users are so old, not entirely sure that is a valid repro unless the original topic was also from 2014 or older?

---

<div class="post-metadata">

### Author: ![danekhollas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/danekhollas/32/79637_2.png) [@danekhollas](https://meta.discourse.org/u/danekhollas)
#### Post date: [9 februari 2019 om 23:23 UTC](https://meta.discourse.org/t/moving-posts-to-new-pm-did-not-invite-all-participants/108714/20 "2019-02-09T23:23:04Z")

</div>

Definitely not, topic was from this month. Our our original install is fairly old, 2014/2015, but the user in question was created in 2017. We are currently at 2.2.0-beta+100, but I did not notice any commits related to this feature since then.

Thanks for investigating!

---

<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: [10 februari 2019 om 01:52 UTC](https://meta.discourse.org/t/moving-posts-to-new-pm-did-not-invite-all-participants/108714/21 "2019-02-10T01:52:01Z")

</div>

> [@JagWaugh](#):
>
> I can’t remember now if I selected all the posts separately, or did it at the topic level - in any case all of the posts were in the PM.

Can you try varying the selection method @rishabh to see if that makes any difference?

---

<div class="post-metadata">

### Author: ![danekhollas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/danekhollas/32/79637_2.png) [@danekhollas](https://meta.discourse.org/u/danekhollas)
#### Post date: [10 februari 2019 om 14:35 UTC](https://meta.discourse.org/t/moving-posts-to-new-pm-did-not-invite-all-participants/108714/22 "2019-02-10T14:35:32Z")

</div>

In my case I only selected certain posts, not sure whether individually, maybe I clicked _Select+below_.

---

<div class="post-metadata">

### Author: ![rishabh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rishabh/32/179446_2.png) [@rishabh](https://meta.discourse.org/u/rishabh)
#### Post date: [11 februari 2019 om 06:50 UTC](https://meta.discourse.org/t/moving-posts-to-new-pm-did-not-invite-all-participants/108714/23 "2019-02-11T06:50:22Z")

</div>

I now have a consistent repro on this topic which happens ONLY if you follow these steps:

1. From the topic wrench, click Select Posts…

2. click select+below on the first reply (because the first post cannot be selected to move with this UI, that is only possible when doing a topic level move)

3. move to new message

The posts were moved correctly but @danekhollas wasn’t invited to the PM even though he has four posts in this topic. _Note that he is the OP and we couldn’t select the first post, maybe that’s the edge case._

 ![Screenshot%20from%202019-02-11%2011-21-27](https://global.discourse-cdn.com/meta/original/3X/c/5/c57e4ba35656f9d112cfaa7ab3ee538992477515.png)

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [11 februari 2019 om 11:37 UTC](https://meta.discourse.org/t/moving-posts-to-new-pm-did-not-invite-all-participants/108714/25 "2019-02-11T11:37:02Z")

</div>

Fixed in

[https://github.com/discourse/discourse/commit/dcd7b925327ac3523ccbf94216e43f3f6b56df52](https://github.com/discourse/discourse/commit/dcd7b925327ac3523ccbf94216e43f3f6b56df52)

---

<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: [11 februari 2019 om 12:14 UTC](https://meta.discourse.org/t/moving-posts-to-new-pm-did-not-invite-all-participants/108714/26 "2019-02-11T12:14:09Z")

</div>

This may need to be backported to stable?

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [11 februari 2019 om 12:59 UTC](https://meta.discourse.org/t/moving-posts-to-new-pm-did-not-invite-all-participants/108714/27 "2019-02-11T12:59:34Z")

</div>

Agreed, backported to stable branch.

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [11 februari 2019 om 13:34 UTC](https://meta.discourse.org/t/moving-posts-to-new-pm-did-not-invite-all-participants/108714/28 "2019-02-11T13:34:36Z")

</div>


