# Joining a group doesn't take effect unless the browser is hard-refreshed

**URL:** https://meta.discourse.org/t/joining-a-group-doesnt-take-effect-unless-the-browser-is-hard-refreshed/57357
**Category:** Bug
**Created:** [14. Februar 2017 um 13:36 UTC](https://meta.discourse.org/t/joining-a-group-doesnt-take-effect-unless-the-browser-is-hard-refreshed/57357 "2017-02-14T13:36:28Z")
**Posts on this page:** 17
**Page:** 1

<div class="post-metadata">

### Author: ![ChrisBeach](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chrisbeach/32/214628_2.png) [@ChrisBeach](https://meta.discourse.org/u/ChrisBeach)
#### Post date: [14. Februar 2017 um 13:36 UTC](https://meta.discourse.org/t/joining-a-group-doesnt-take-effect-unless-the-browser-is-hard-refreshed/57357/1 "2017-02-14T13:36:28Z")

</div>

### Steps

1. Sign up as new user
2. Click **hamburger menu \> Groups**
3. Click **“+ Join Group”**
4. Click site logo to return to topic list

**Expected** : all topics which are private to the joined group should be displayed in the list  
**Actual** : private topics not displayed

Refreshing the page causes the topics to be displayed. But this isn’t ideal, as users won’t know to do this and will be confused. Have seen this problem on iPad and desktop (not yet tested on mobile)

---

<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: [14. Februar 2017 um 13:54 UTC](https://meta.discourse.org/t/joining-a-group-doesnt-take-effect-unless-the-browser-is-hard-refreshed/57357/2 "2017-02-14T13:54:28Z")

</div>

@tgxworld add to your list when you get back 🙂

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [11. März 2017 um 06:35 UTC](https://meta.discourse.org/t/joining-a-group-doesnt-take-effect-unless-the-browser-is-hard-refreshed/57357/4 "2017-03-11T06:35:19Z")

</div>

Hi @ChrisBeach, sorry for the delay in my response here.

I just looked into this and couldn’t reproduce the issue. What I did was create a category that could be only viewed by my `test` group. Joining and leaving the group both updated the topic list when I clicked on the logo.

Are you still able to reproduce this?

---

<div class="post-metadata">

### Author: ![scombs](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/scombs/32/48616_2.png) [@scombs](https://meta.discourse.org/u/scombs)
#### Post date: [11. März 2017 um 12:41 UTC](https://meta.discourse.org/t/joining-a-group-doesnt-take-effect-unless-the-browser-is-hard-refreshed/57357/5 "2017-03-11T12:41:35Z")

</div>

I saw this refresh-required issue recur on my site (Discourse hosted) on Wednesday 2017-03-08 (during client demo ugh) but it was resolved the next day. I don’t think it was resolved by any update and havent been able to reproduce. Appears to be working for me now.

Related feature request 🙂

> [@Zak\_Holdsworth](#):
>
> I would say ideal feature here is just if someone clicks join group, and then registers, it just adds them to the group… that was their intended action and it is confusing.

Edit: Sorry this was the actual bug related to Group button (not topic list) but perhaps related:

> Selecting the Leave Group button on Groups page doesn’t toggle to immediately show the Join Group button.

Also appears to be resolved now.

---

<div class="post-metadata">

### Author: ![ChrisBeach](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chrisbeach/32/214628_2.png) [@ChrisBeach](https://meta.discourse.org/u/ChrisBeach)
#### Post date: [15. März 2017 um 13:46 UTC](https://meta.discourse.org/t/joining-a-group-doesnt-take-effect-unless-the-browser-is-hard-refreshed/57357/6 "2017-03-15T13:46:57Z")

</div>

I’m still seeing this issue on [my forum](https://se23.life) unfortunately

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [16. März 2017 um 02:43 UTC](https://meta.discourse.org/t/joining-a-group-doesnt-take-effect-unless-the-browser-is-hard-refreshed/57357/7 "2017-03-16T02:43:34Z")

</div>

By private topics, do you mean categories that are restricted to certain groups? I’m still having trouble replicating this locally so I’m going to need more details.

---

<div class="post-metadata">

### Author: ![ChrisBeach](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chrisbeach/32/214628_2.png) [@ChrisBeach](https://meta.discourse.org/u/ChrisBeach)
#### Post date: [16. März 2017 um 08:24 UTC](https://meta.discourse.org/t/joining-a-group-doesnt-take-effect-unless-the-browser-is-hard-refreshed/57357/8 "2017-03-16T08:24:17Z")

</div>

Yes, that’s right @tgxworld . The private categories in question have permissions like this:

 ![](https://global.discourse-cdn.com/meta/original/3X/6/b/6bcef7f4cfdb50402744415b2c7bda4f8987cfe8.PNG)

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [2. Juni 2017 um 06:15 UTC](https://meta.discourse.org/t/joining-a-group-doesnt-take-effect-unless-the-browser-is-hard-refreshed/57357/9 "2017-06-02T06:15:42Z")

</div>

Which group can I use to test out on your site? I’m not getting it locally at all.

---

<div class="post-metadata">

### Author: ![ChrisBeach](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chrisbeach/32/214628_2.png) [@ChrisBeach](https://meta.discourse.org/u/ChrisBeach)
#### Post date: [2. Juni 2017 um 07:03 UTC](https://meta.discourse.org/t/joining-a-group-doesnt-take-effect-unless-the-browser-is-hard-refreshed/57357/10 "2017-06-02T07:03:49Z")

</div>

I’ve just tested again and verified the problem exists on my site. I signed up a new user and joined the “Cyclists” group. After I joined from the groups page, I clicked the site logo to return to the “Latest” page, and I expected to see a recent “Cycling” topic in the list but didn’t see it.

This is the topic I expected to see was this one:

 ![](https://global.discourse-cdn.com/meta/original/3X/a/1/a1bb983fed2524b7693e9e0689b01fd95e57f90d.PNG)

I saw this after a hard refresh in the browser.

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [2. Juni 2017 um 07:07 UTC](https://meta.discourse.org/t/joining-a-group-doesnt-take-effect-unless-the-browser-is-hard-refreshed/57357/11 "2017-06-02T07:07:59Z")

</div>

Hmm I’m seeing a completely different bug. The topic is there but for some reason the category for the topic isn’t shown.

---

<div class="post-metadata">

### Author: ![ChrisBeach](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chrisbeach/32/214628_2.png) [@ChrisBeach](https://meta.discourse.org/u/ChrisBeach)
#### Post date: [2. Juni 2017 um 07:30 UTC](https://meta.discourse.org/t/joining-a-group-doesnt-take-effect-unless-the-browser-is-hard-refreshed/57357/12 "2017-06-02T07:30:25Z")

</div>

It’s possible you need to sign up as a new user and join the group within a single session in order to see the original bug.

BTW - I think I have encountered the second bug (that you just encountered) in previous testing, so I can corroborate that bug too.

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [2. Juni 2017 um 07:32 UTC](https://meta.discourse.org/t/joining-a-group-doesnt-take-effect-unless-the-browser-is-hard-refreshed/57357/13 "2017-06-02T07:32:08Z")

</div>

I just did that and I can still see the topic but with a blank category.

---

<div class="post-metadata">

### Author: ![ChrisBeach](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chrisbeach/32/214628_2.png) [@ChrisBeach](https://meta.discourse.org/u/ChrisBeach)
#### Post date: [2. Juni 2017 um 07:42 UTC](https://meta.discourse.org/t/joining-a-group-doesnt-take-effect-unless-the-browser-is-hard-refreshed/57357/14 "2017-06-02T07:42:36Z")

</div>

Just FYI - When I tested this morning, it was on mobile (iPhone 7, Safari).

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [2. Juni 2017 um 08:39 UTC](https://meta.discourse.org/t/joining-a-group-doesnt-take-effect-unless-the-browser-is-hard-refreshed/57357/15 "2017-06-02T08:39:37Z")

</div>

Fix the missing category in

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

I still can’t get a reproduction for the bug in this topic though :sadpanda:

---

<div class="post-metadata">

### Author: ![ChrisBeach](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chrisbeach/32/214628_2.png) [@ChrisBeach](https://meta.discourse.org/u/ChrisBeach)
#### Post date: [2. Juni 2017 um 10:35 UTC](https://meta.discourse.org/t/joining-a-group-doesnt-take-effect-unless-the-browser-is-hard-refreshed/57357/16 "2017-06-02T10:35:46Z")

</div>

@tgxworld I took in your bug fix and tested again. I think you may have fixed both problems! 💫

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [2. Juni 2017 um 12:48 UTC](https://meta.discourse.org/t/joining-a-group-doesnt-take-effect-unless-the-browser-is-hard-refreshed/57357/17 "2017-06-02T12:48:21Z")

</div>

\o/ Closing this then 🙂

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [2. Juni 2017 um 12:48 UTC](https://meta.discourse.org/t/joining-a-group-doesnt-take-effect-unless-the-browser-is-hard-refreshed/57357/18 "2017-06-02T12:48:29Z")

</div>


