# When bulk inviting users to a group, user profile settings do not reflect the fact that the are part of that group

**URL:** https://meta.discourse.org/t/when-bulk-inviting-users-to-a-group-user-profile-settings-do-not-reflect-the-fact-that-the-are-part-of-that-group/27560
**Category:** Bug
**Tags:** groups
**Created:** [April 14, 2015, 1:52pm UTC](https://meta.discourse.org/t/when-bulk-inviting-users-to-a-group-user-profile-settings-do-not-reflect-the-fact-that-the-are-part-of-that-group/27560 "2015-04-14T13:52:17Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![kmvoges](https://avatars.discourse-cdn.com/v4/letter/k/ecb155/32.png) [@kmvoges](https://meta.discourse.org/u/kmvoges)
#### Post date: [April 14, 2015, 1:52pm UTC](https://meta.discourse.org/t/when-bulk-inviting-users-to-a-group-user-profile-settings-do-not-reflect-the-fact-that-the-are-part-of-that-group/27560/1 "2015-04-14T13:52:17Z")

</div>

When manualy trying to add them to that custom group (because you think something went wrong, an error occurs and a fatal error is seen in the logs.

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

So seemingly users are being added to the group, they also have access, only the profile settings do not correctly reflect the fact that they have been succesfully added to the group.

---

<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: [April 14, 2015, 11:49pm UTC](https://meta.discourse.org/t/when-bulk-inviting-users-to-a-group-user-profile-settings-do-not-reflect-the-fact-that-the-are-part-of-that-group/27560/2 "2015-04-14T23:49:19Z")

</div>

also reported via @bobmcneel we should get it fixed

@techAPJ can you add to your list

---

<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: [April 15, 2015, 3:07am UTC](https://meta.discourse.org/t/when-bulk-inviting-users-to-a-group-user-profile-settings-do-not-reflect-the-fact-that-the-are-part-of-that-group/27560/3 "2015-04-15T03:07:18Z")

</div>

I just tested this on my dev env and I am unable to repro this.

I invited a user via bulk invite feature and specified group `beta` to be added by default. When the user redeemed that invite, I can see that he has been added to `beta` group.

User profile page:

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

Admin user page:

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

Admin group page:

![](https://global.discourse-cdn.com/meta/original/3X/d/1/d1a90afc82f1be1619f6898ef98a5b4c17d123d2.png)

> [@kmvoges](#):
>
> the profile settings do not correctly reflect the fact that they have been succesfully added to the group

Can you provide a screenshot for this? Along with repro steps.

---

<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: [April 15, 2015, 3:47am UTC](https://meta.discourse.org/t/when-bulk-inviting-users-to-a-group-user-profile-settings-do-not-reflect-the-fact-that-the-are-part-of-that-group/27560/4 "2015-04-15T03:47:43Z")

</div>

the error is, try adding a user that already exists in the group, no message is displayed saying it is already in the group.

---

<div class="post-metadata">

### Author: ![kmvoges](https://avatars.discourse-cdn.com/v4/letter/k/ecb155/32.png) [@kmvoges](https://meta.discourse.org/u/kmvoges)
#### Post date: [April 15, 2015, 7:07am UTC](https://meta.discourse.org/t/when-bulk-inviting-users-to-a-group-user-profile-settings-do-not-reflect-the-fact-that-the-are-part-of-that-group/27560/5 "2015-04-15T07:07:22Z")

</div>

> [@techAPJ](#):
>
> Can you provide a screenshot for this? Along with repro steps.

Use CSV to invite user to specific group and topic:

[xxx@xxx.com](mailto:xxx@xxx.com),Beta,14

“14” is the specific topic that I am inviting them to.

The results are that you can see that they are added in the admin group page, but not in de admin user page and neither in their profile:

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

 ![](https://global.discourse-cdn.com/meta/original/3X/3/d/3d76811ab7261f2d18b53a01f86fd87cbbff43cf.png)

 ![](https://global.discourse-cdn.com/meta/original/3X/c/b/cbab9bc61dc8f019814734e113da7a17b8980b59.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: [April 15, 2015, 8:08am UTC](https://meta.discourse.org/t/when-bulk-inviting-users-to-a-group-user-profile-settings-do-not-reflect-the-fact-that-the-are-part-of-that-group/27560/6 "2015-04-15T08:08:44Z")

</div>

Fixed via

[https://github.com/discourse/discourse/pull/3378](https://github.com/discourse/discourse/pull/3378)

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [April 15, 2015, 9:32am UTC](https://meta.discourse.org/t/when-bulk-inviting-users-to-a-group-user-profile-settings-do-not-reflect-the-fact-that-the-are-part-of-that-group/27560/7 "2015-04-15T09:32:47Z")

</div>



---

<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: [April 16, 2015, 1:05am UTC](https://meta.discourse.org/t/when-bulk-inviting-users-to-a-group-user-profile-settings-do-not-reflect-the-fact-that-the-are-part-of-that-group/27560/8 "2015-04-16T01:05:04Z")

</div>

@sam just fixed this.

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