inbox read count could get out of sync
Bug #1781073 reported by
Cecilia Vela Gurovic
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Confirmed
|
Medium
|
Unassigned |
Bug Description
In the user menu there is a link to the inbox and it shows a text 'x unread', x meaning the number of unread messages we have in the inbox.
This number is saved in the db in the 'usr' table with field name 'unread'. It gets updated everytime we see a message or we receive it by doing -1 / +1.
But this number can get actually out of sync with the real amount of unread messages in the db for that user.
The real amount of messages come from tables 'notification_
Maybe on solution could be checking the numbers match everytime we login or access the inbox.
description: | updated |
Changed in mahara: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
To post a comment you must log in.