Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 Bug: Webhook - After Insert event triggers 2+ requests if table has relation #6068

Closed
1 task done
ghaccff opened this issue Jul 20, 2023 · 3 comments
Closed
1 task done
Assignees
Labels
Status: Reproducible Able to reproduce the issue based on the reporters' guideline. 馃悰 Type: Bug Something is broken or incorrect unexpectedly.
Milestone

Comments

@ghaccff
Copy link

ghaccff commented Jul 20, 2023

Please confirm if bug report does NOT exists already ?

  • I confirm there is no existing issue for this

Steps to reproduce ?

  1. Create table "Project"
  2. Create table "Source"
  3. Add column "Sources" in "Project" table with one to many relation
  4. Add a new project "Project1" record
  5. Configure webhook for "Source" table
    • Event = "After Insert"
    • Type = "URL"
  6. Add a new Source record with "Project1" record linked
  7. 3 requests are generated from created webhook

Desired Behavior

  1. 1 request is generated after a record is created

Project Details

Node: v16.20.0
Arch: x64
Platform: linux
Docker: true
RootDB: sqlite3
PackageVersion: 0.109.4

Attachments

nocodb-after-insert-webhook-bug.mp4
@ghaccff
Copy link
Author

ghaccff commented Jul 20, 2023

If a new record is added via table view (row is not expanded) then 2 requests are generated

@wingkwong wingkwong added the 馃悰 Type: Bug Something is broken or incorrect unexpectedly. label Jul 23, 2023
@SchmaR
Copy link

SchmaR commented Sep 19, 2023

Is there any estimate when this issue might be fixed? It is currently blocking me from updating since I've a use case which requires "at most once" delivery of the webhooks payload.

@dstala dstala added this to the vNext milestone Oct 27, 2023
@dstala dstala added the Status: Reproducible Able to reproduce the issue based on the reporters' guideline. label Oct 27, 2023
@dstala
Copy link
Member

dstala commented Nov 9, 2023

#6817

@dstala dstala closed this as completed Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Reproducible Able to reproduce the issue based on the reporters' guideline. 馃悰 Type: Bug Something is broken or incorrect unexpectedly.
Projects
None yet
Development

No branches or pull requests

6 participants