2
Ticket #12866
Status: Accepted
Opened by Bertiecrafter
Type:
Bug Report
Views:
36
Access:
Public
Opened:
2/8/21 11:19 am 2/8/21 11:19 am
Updated:
2/8/21 1:08 pm 2/8/21 1:08 pm
Assigned:

Notifications are marked as read when visiting the account/notifications page.

- When I refresh the PMC home page, the notification counter does not change. So just viewing the homepage does not mark as read.
- Refreshing the account notifications page will show new notifications with a green flare as well.
- However, opening the home page and then using the URL bar to directly navigate to the notification page will show all notifications as read.

Sometimes I like to navigate directly to the page, so that I can see all notifications (since the notifications dropdown combines similar notifications).

1
02/08/2021 3:05 pm
Level 59 : Grandmaster Cyborg
Bertiecrafter
Bertiecrafter avatar
Just refreshed the page, not active on my phone and made a recording of it happening:
1
02/08/2021 2:54 pm
Level 59 : Grandmaster Cyborg
Bertiecrafter
Bertiecrafter avatar
Is there some kind of live update going on? Perhaps mobile device had the page open, causing the desktop to mark notifications as read. Doesn't explain why I would still see the notification counter on the home page though.
02/08/2021 1:08 pm
Level 69 : High Grandmaster Cyborg
Cyprezz
Cyprezz avatar
set status to Accepted, assigned Cyprezz.
Just stepped through code and I don't see how this is happening.

There's only two cases where notifications are marked as read.

1) When you open notifications via clicking the upper right notifications icon.
2) When you view the /account/notifications/ page BUT that method gets notification data, marks as read in database THEN passes the "stale" unread notifications data to render for display.

Will try to reproduce on live when I get notifications before looking further into.
Planet Minecraft Logo

Website

© 2010 - 2021
www.planetminecraft.com

Welcome