#3213 closed defect (bug) (fixed)
Incorrect value passed for new reply notification in buddypress
| Reported by: | seennothurd | Owned by: | johnjamesjacoby |
|---|---|---|---|
| Priority: | high | Milestone: | 2.6.6 |
| Component: | Extend - BuddyPress | Version: | 2.5 |
| Severity: | major | Keywords: | needs-testing |
| Cc: |
Description
The value passed into the item_id key of the array of args for bp_notifications_add_notification (includes/extend/buddypress/notifications.php:149) does not match the value expected for the notification formatting (includes/extend/buddypress/notifications.php:70).
The value the formatting function expects is the reply ID. The value passed along from the bp_notifications_add_notification function is the topic ID of that reply. This means the bbp_get_reply_url function returns a useless url, which in the case of Buddypress causes an redirect loop.
This means users cannot get to the new reply as notified.
Attachments (1)
Change History (6)
#1
@
8 years ago
- Keywords commit added
- Milestone Awaiting Review → 2.6
- Owner set to
- Version trunk → 2.5
#3
@
6 years ago
- Keywords needs-testing added; commit removed
- Milestone 2.6 → 2.6.6
- Priority normal → high
- Resolution fixed
- Severity normal → major
- Status closed → reopened
This change has caused bbp_buddypress_mark_notifications() to stop working as intended.
Or bbp_format_buddypress_notifications() is using the wrong ID to create the wrong URL.
Going to reopen this to look into it further for 2.6.6.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 6845: