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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sometimes an event is missed if two are triggered in quick succession? #2

Open
spwoodcock opened this issue Jan 29, 2025 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@spwoodcock
Copy link
Member

spwoodcock commented Jan 29, 2025

Describe the bug

  • Noticed the for forms that are configured to update entities also.
  • The events are logged a few milliseconds apart.
  • entity.update.version seems to be called before submission.create.
  • The submission.create was missed by the listener.

To Reproduce

  1. Create a form that also updates an entity list
  2. Start the webhook, listening for newSubmissionUrl only.
  3. Create a submission
  4. Observe if the event is correctly picked up and webhook called.

Expected behavior

  • Both events should be triggered.

Additional context

  • This should be monitored, tested, and reproduced a few times before addressing.
  • I have only seen it occur once so far - so perhaps just a hiccup?
  • (my hunch is that the event was created just when the notification listener was restarted - the connection is re-established on an interval - see the debug logs with the -debug flag)
@spwoodcock spwoodcock added the bug Something isn't working label Jan 29, 2025
@spwoodcock spwoodcock changed the title Sometimes an event is missed if two are triggered in quick succession Sometimes an event is missed if two are triggered in quick succession? Feb 1, 2025
@spwoodcock spwoodcock added the help wanted Extra attention is needed label Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant