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

mounted is called twice, leading to registering listeners twice #2164

Open
SystemKeeper opened this issue Jan 24, 2025 · 0 comments
Open

mounted is called twice, leading to registering listeners twice #2164

SystemKeeper opened this issue Jan 24, 2025 · 0 comments

Comments

@SystemKeeper
Copy link
Contributor

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. Have notify_push enabled
  2. Check the requests when you receive a new notification

Expected behaviour

Notification should only be queried once

Actual behaviour

Notifications are queried twice from the API. After investigating, mounted is called twice, leading to registering the listener for notify push twice.

E.g. duplicate registering on page load:

Image

Duplicate data:

Image

I am unable to reproduce the behavior in my dev instance (neither master, nor stable30), but I see it on 2 production instance, one that was recently updated to NC 31 RC 1, the other running NC 30.0.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant