Skip to content

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

@SystemKeeper

Description

@SystemKeeper

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions