Realtime DELETE updates not being fired
See original GitHub issueBug report
Describe the bug
listening to DELETE events:
const bp = await this.$supabase
.from("blogPosts")
.on("DELETE", (payload) => {
console.log(payload)
})
.subscribe()
Deleting a row in the ‘blogPosts’ table (manually from the Supabase Studio) doesn’t fire a DELETE event in the frontend.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
- Create a DELETE listener for a table
- Go to the Supabase Studio
- Delete a row from the table
- No DELETE event is fired as expected
Expected behavior
A DELETE event is fired and is shown in the console (console.log)
System information
- OS: macOs
- Browser: chrome
- Version of supabase-js: 1.29.1
- Version of Node.js: 16.13.0
Additional context
- Running locally (docker self-hosted)
- Listening to other events (UPDATE, INSERT) work as expected
Issue Analytics
- State:
- Created 2 years ago
- Comments:15 (13 by maintainers)
Top Results From Across the Web
Firebase node unexpectedly delete itself after a update value ...
The firebase realtime database behaved weirdly as I observed, just immediately after the SetValue called, the NOSQL nodes lights up with green ...
Read more >Uninstalling 'uninstallable' Windows Updates - BornCity
The problem is … If an update causes issues, it's possible to open control panel, go to Programs and Features and select Installed...
Read more >Can I delete specific items from a completed Update Set ...
I want to back off all updates that pertains to a specific table (say, "u_incident") from my completed update set, but after deleting...
Read more >Windows Update Not Working Windows 10 Deleting Cache ...
How to fix issues you have with Windows Update not properly downloading and installing updates. Windows includes a built-in troubleshooter ...
Read more >Having Trouble With A Windows Update? Lets Uninstall IT
Well don't panic, you can uninstall the Windows updates in Windows 11 or ... Select the update you want to remove, then select...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I can confirm that after i re-cloned the repo today the issue was gone and i could listen to DELETE events today. realtime image version:
image: supabase/realtime:v0.19.3
.@w3b6x9 i’m not really sure why the issue is solved but i guess that you guys fixed it behind the scenes. Although, it might just have been a weird bug on my end and i just needed to start from fresh again). Anyways, thanks a lot to everyone who pitched in and helped!
The issue can be closed, unless you guys wants to further investigate what was going on.
@chipseater just wanted to confirm: did you have a primary key on your table prior to setting replica identity to full?