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

Notifications with the same id might not be shown at all #15773

Merged
merged 1 commit into from Apr 6, 2020

Conversation

sgiehl
Copy link
Member

@sgiehl sgiehl commented Apr 3, 2020

When trying to fix the tests for #15736 I wondered why the UnprocessedSegmentTest didn't show the notification anymore. Reproducing that locally showed that, due to the additional report on the tested page, the notification is contained two times. When loading the page directly (not by clicking the menu), the reports seems to be rendered on the same time, causing both notifications to remove each other.

Not sure if the applied fix is the best option, but wasn't sure how to prevent the removal in another way...

@sgiehl sgiehl added Bug For errors / faults / flaws / inconsistencies etc. Needs Review PRs that need a code review labels Apr 3, 2020
@sgiehl sgiehl added this to the 4.0.0 milestone Apr 3, 2020
@sgiehl sgiehl requested a review from diosmosis April 3, 2020 07:47
Copy link
Member

@diosmosis diosmosis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a problem on 3.x-dev? If so would probably want to fix there (cc @mattab). If not, good to merge.

@sgiehl
Copy link
Member Author

sgiehl commented Apr 3, 2020

yes. should be on 3.x-dev as well.

@mattab
Copy link
Member

mattab commented Apr 5, 2020

@sgiehl agreed with @diosmosis, be great to apply to 3.x-dev as well 👍

@tsteur
Copy link
Member

tsteur commented Apr 5, 2020

Not sure how often that actually happens in 3.x-dev haven't seen any reports etc unless I'm mistaken so might not need to make that effort for 3.x-dev and rather focus on 4.x

@sgiehl
Copy link
Member Author

sgiehl commented Apr 5, 2020

@tsteur for sure there was no issue yet, as it's hard to know that a notification isn't shown where it should be. That affects for example the "unprocessed segment" notification, that is shown when a segment has been changed, but wasn't reprocessed by the cron archiver yet. Which might also happen on cloud I guess. Isn't hard to move that to 3.x-dev branch. Can do that tomorrow...

@sgiehl sgiehl changed the base branch from 4.x-dev to 3.x-dev April 6, 2020 07:10
@sgiehl sgiehl modified the milestones: 4.0.0, 3.13.5 Apr 6, 2020
@sgiehl sgiehl merged commit bc6ec46 into 3.x-dev Apr 6, 2020
@sgiehl sgiehl deleted the notificationclose branch April 6, 2020 07:39
jonasgrilleres pushed a commit to 1024pix/pix-analytics that referenced this pull request Sep 22, 2020
jbuget pushed a commit to 1024pix/pix-analytics that referenced this pull request Sep 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. Needs Review PRs that need a code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants