Opened 11 years ago
Closed 11 years ago
#6687 closed defect (bug) (fixed)
'Mentions' tab of the Activity directory & new_at_mention notifications
| Reported by: | imath | Owned by: | imath |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.5 |
| Component: | Toolbar & Notifications | Version: | 1.9 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: |
Description
Let's say someone mentioned you. And you are displaying the activity directory, The mentions tab is looking like this Mentions (1 new). If you click on it the bp_new_mention_count & bp_new_mentions usermetas are removed, but not the corresponding entries into the notifications table.
I think we should remove these notications.
Attachments (2)
Change History (6)
#2
@
11 years ago
@DJPaul you're right, sorry i forgot the unit test about it. Working on this unit test made me change the patch to make it simpler as bp_activity_reset_my_new_mentions() is hooking to bp_activity_screen_mentions.
If no objections, i will commit 6687.02.patch this evening (6 or 7 hours from now).
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Yes. Bonus points if you can unit test this somehow.