# RGs don't update when a new item is added

**URL:** <https://forum.bubble.io/t/rgs-dont-update-when-a-new-item-is-added/151836>\
**Category:** Bugs\
**Created:** [May 18, 2021, 3:13pm UTC](https://forum.bubble.io/t/rgs-dont-update-when-a-new-item-is-added/151836 "2021-05-18T15:13:59Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![steve18](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/steve18/32/94063_2.png) [@steve18](https://forum.bubble.io/u/steve18)\
**Post date:** [May 18, 2021, 3:13pm UTC](https://forum.bubble.io/t/rgs-dont-update-when-a-new-item-is-added/151836/1 "2021-05-18T15:13:59Z")

</div>

So…kinda strange one. Previously, if I added an item to the DB, the RG that displays all the items in the DB would immediately show the new item. Now, I have to refresh the page before it shows.

Any ideas?

---

<div class="post-metadata">

**Author:** ![steve18](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/steve18/32/94063_2.png) [@steve18](https://forum.bubble.io/u/steve18)\
**Post date:** [May 18, 2021, 3:15pm UTC](https://forum.bubble.io/t/rgs-dont-update-when-a-new-item-is-added/151836/2 "2021-05-18T15:15:47Z")

</div>

UPDATE: But…if I delete the item it immediately disappears from the RG. The plot thickens…

---

<div class="post-metadata">

**Author:** ![muneer.hameer](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/muneer.hameer/32/33494_2.png) [@muneer.hameer](https://forum.bubble.io/u/muneer.hameer)\
**Post date:** [May 18, 2021, 3:19pm UTC](https://forum.bubble.io/t/rgs-dont-update-when-a-new-item-is-added/151836/3 "2021-05-18T15:19:18Z")

</div>

Yes, I have noticed this issue sporadically over the last several days, but it’s hard to consistently reproduce it. I thought it is because I moved some things server side, but looks like there might be a bigger issue here. If the issue on your is consistent and reproducible every time, then perhaps you could file a bug report so @eve and the bubble team can investigate.

---

<div class="post-metadata">

**Author:** ![steve18](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/steve18/32/94063_2.png) [@steve18](https://forum.bubble.io/u/steve18)\
**Post date:** [May 18, 2021, 3:22pm UTC](https://forum.bubble.io/t/rgs-dont-update-when-a-new-item-is-added/151836/4 "2021-05-18T15:22:25Z")

</div>

Good shout. I’m glad to know that I am not on my own, @muneer.hameer!

---

<div class="post-metadata">

**Author:** ![eve](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/eve/32/48346_2.png) [@eve](https://forum.bubble.io/u/eve)\
**Post date:** [May 18, 2021, 3:34pm UTC](https://forum.bubble.io/t/rgs-dont-update-when-a-new-item-is-added/151836/5 "2021-05-18T15:34:51Z")

</div>

Might be a privacy rule, but absolutely happy to look into this if you could file a [bug report](https://bubble.io/bug_report)! Thanks in advance. 🙂

---

<div class="post-metadata">

**Author:** ![steve18](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/steve18/32/94063_2.png) [@steve18](https://forum.bubble.io/u/steve18)\
**Post date:** [May 18, 2021, 3:36pm UTC](https://forum.bubble.io/t/rgs-dont-update-when-a-new-item-is-added/151836/6 "2021-05-18T15:36:59Z")

</div>

Already done, @eve. It’s 15213. If you go for the runtime test, let me know as you’ll need the MFA code that will get emailed to the duff email address I assigned you…

Thanks for your help!!

---

<div class="post-metadata">

**Author:** ![brad.h](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/brad.h/32/61687_2.png) [@brad.h](https://forum.bubble.io/u/brad.h)\
**Post date:** [May 18, 2021, 5:55pm UTC](https://forum.bubble.io/t/rgs-dont-update-when-a-new-item-is-added/151836/7 "2021-05-18T17:55:55Z")

</div>

This issue is confirmed on my end today, and I just filed a bug report. I also filed a bug report in March of 2021 for the same issue.

I sent a detailed screen recording to support. I was able to capture this behavior across three different browsers at once (chrome, safari, edge). It’s certainly an issue.

When I had the same issue in march, I cleared browser history and it solved it (thanks to bubble support). however, today when I cleared browser history the issue persists.

---

<div class="post-metadata">

**Author:** ![steve18](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/steve18/32/94063_2.png) [@steve18](https://forum.bubble.io/u/steve18)\
**Post date:** [May 18, 2021, 6:04pm UTC](https://forum.bubble.io/t/rgs-dont-update-when-a-new-item-is-added/151836/8 "2021-05-18T18:04:05Z")

</div>

Ah, okay. I’ve got a big demo this Friday, so I will try the browser cache thing to see what happens…

---

<div class="post-metadata">

**Author:** ![steve18](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/steve18/32/94063_2.png) [@steve18](https://forum.bubble.io/u/steve18)\
**Post date:** [May 18, 2021, 6:08pm UTC](https://forum.bubble.io/t/rgs-dont-update-when-a-new-item-is-added/151836/9 "2021-05-18T18:08:15Z")

</div>

No love with the cache clearing, @brad.h , but thanks anyways! I’m pleased it’s not just me…

---

<div class="post-metadata">

**Author:** ![brad.h](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/brad.h/32/61687_2.png) [@brad.h](https://forum.bubble.io/u/brad.h)\
**Post date:** [May 18, 2021, 6:09pm UTC](https://forum.bubble.io/t/rgs-dont-update-when-a-new-item-is-added/151836/10 "2021-05-18T18:09:02Z")

</div>

@steve18, bubble support was not able to reproduce the issue back March. But here’s the instructions I received from @Andrew.Vernon in case the issue continued:

> If you are still experiencing this, can you try testing this after using the following steps to clear browsing data:
> 
> - Delete your browser’s cookies and cache using the browser’s settings screen. It’s very important to delete both and you will be prompted to log back in to most websites. If you are not prompted to log back into websites where you were previously logged in, this operation was likely not completed correctly.
> - Restart your browser by fully quitting the application and reopening the application. Closing the window or tab alone will not work.
> - Re-open the app’s editor in a Private or Incognito browsing window and gauge whether the issue persists.

---

<div class="post-metadata">

**Author:** ![brad.h](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/brad.h/32/61687_2.png) [@brad.h](https://forum.bubble.io/u/brad.h)\
**Post date:** [May 18, 2021, 6:12pm UTC](https://forum.bubble.io/t/rgs-dont-update-when-a-new-item-is-added/151836/11 "2021-05-18T18:12:16Z")

</div>

yeah sorry. I’m not sure the cache clearing worked back in March either. I think time just went by and the issue corrected itself. Otherwise, how would the behavior continue over three different browsers.

---

<div class="post-metadata">

**Author:** ![steve18](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/steve18/32/94063_2.png) [@steve18](https://forum.bubble.io/u/steve18)\
**Post date:** [May 18, 2021, 6:12pm UTC](https://forum.bubble.io/t/rgs-dont-update-when-a-new-item-is-added/151836/12 "2021-05-18T18:12:35Z")

</div>

Thanks pal. Tried all that with no love. Have recreated in both Chrome and Edge (pretty much the same browser) in both incognito and normal modes…

---

<div class="post-metadata">

**Author:** ![basel.adel](https://avatars.discourse-cdn.com/v4/letter/b/fbc32d/32.png) [@basel.adel](https://forum.bubble.io/u/basel.adel)\
**Post date:** [May 18, 2021, 6:13pm UTC](https://forum.bubble.io/t/rgs-dont-update-when-a-new-item-is-added/151836/13 "2021-05-18T18:13:51Z")

</div>

I’ve the same issue, just popped up today. mainly in pulling and pushing the data from the database and it loses the live connection to the database

---

<div class="post-metadata">

**Author:** ![steve18](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/steve18/32/94063_2.png) [@steve18](https://forum.bubble.io/u/steve18)\
**Post date:** [May 18, 2021, 6:14pm UTC](https://forum.bubble.io/t/rgs-dont-update-when-a-new-item-is-added/151836/14 "2021-05-18T18:14:37Z")

</div>

Okay, thanks @basel.adel. It must definitely be an issue…

---

<div class="post-metadata">

**Author:** ![goingforsmiles](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/goingforsmiles/32/50349_2.png) [@goingforsmiles](https://forum.bubble.io/u/goingforsmiles)\
**Post date:** [May 18, 2021, 8:55pm UTC](https://forum.bubble.io/t/rgs-dont-update-when-a-new-item-is-added/151836/15 "2021-05-18T20:55:24Z")

</div>

Same issue. Live connection to the database seems to be interrupted. Users in my app can no longer add items to their carts without refreshing the page. Hope this gets resolved quickly!

---

<div class="post-metadata">

**Author:** ![jared.gibb](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jared.gibb/32/123329_2.png) [@jared.gibb](https://forum.bubble.io/u/jared.gibb)\
**Post date:** [May 18, 2021, 9:19pm UTC](https://forum.bubble.io/t/rgs-dont-update-when-a-new-item-is-added/151836/16 "2021-05-18T21:19:25Z")

</div>

I noticed this behavior recently also. Following an action that I would expect to produce a new item in a repeating group, eg saving a dB entry,  
I `display list in repeating group `which seems to be an effective workaround. The issue is I imagine this isn’t as efficient as good data binding and using the provided real-time event listeners to automatically update the RG.

---

<div class="post-metadata">

**Author:** ![bubblealex](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/bubblealex/32/100009_2.png) [@bubblealex](https://forum.bubble.io/u/bubblealex)\
**Post date:** [May 18, 2021, 9:56pm UTC](https://forum.bubble.io/t/rgs-dont-update-when-a-new-item-is-added/151836/17 "2021-05-18T21:56:10Z")

</div>

This issue is happening to me too. I thought I wrote a new bug but happy to hear it’s not just me. I have a repeating group that loads recipes and when I try to add a new recipe it adds it in my DB but doesn’t add it on the FE until I reload the page.

---

<div class="post-metadata">

**Author:** ![basel.adel](https://avatars.discourse-cdn.com/v4/letter/b/fbc32d/32.png) [@basel.adel](https://forum.bubble.io/u/basel.adel)\
**Post date:** [May 19, 2021, 8:49am UTC](https://forum.bubble.io/t/rgs-dont-update-when-a-new-item-is-added/151836/18 "2021-05-19T08:49:34Z")

</div>

This one I had but was able to solve it

- You can assign the list of recipes to repeating group custom state recipes on page load
- Load the data from this custom state
- On clicking add, create a new entry in the database and add the item to the list of recipes (result from the previous step)  
 ![list of topics](https://us1.discourse-cdn.com/bubble/original/3X/8/d/8da3559400bb3e28eb4c68ff451fa309f1bac041.png)
- Same with delete, delete the item and then set the repeating group custom state:minus deleted item

It used to read directly from the DB but since yesterday it’s not working, that’s why I used this instead

---

<div class="post-metadata">

**Author:** ![basel.adel](https://avatars.discourse-cdn.com/v4/letter/b/fbc32d/32.png) [@basel.adel](https://forum.bubble.io/u/basel.adel)\
**Post date:** [May 19, 2021, 8:54am UTC](https://forum.bubble.io/t/rgs-dont-update-when-a-new-item-is-added/151836/19 "2021-05-19T08:54:13Z")

</div>

But not a sustainable solution, it’s always better to read from the DB directly as a single point of truth. but this just a temp fix till we see Bubble response!

---

<div class="post-metadata">

**Author:** ![steve18](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/steve18/32/94063_2.png) [@steve18](https://forum.bubble.io/u/steve18)\
**Post date:** [May 19, 2021, 8:55am UTC](https://forum.bubble.io/t/rgs-dont-update-when-a-new-item-is-added/151836/20 "2021-05-19T08:55:23Z")

</div>

Hey pal. I woke up this morning, and it’s now working as normal…

[Next page](https://forum.bubble.io/t/rgs-dont-update-when-a-new-item-is-added/151836.md?page=2)
