Opened 17 months ago
Closed 17 months ago
#8870 closed defect (bug) (fixed)
Unable to reply to messages via links in email notifications
Reported by: | dave.pullig | Owned by: | imath |
---|---|---|---|
Milestone: | 11.2.0 | Priority: | normal |
Severity: | normal | Version: | 11.1.0 |
Component: | Messages | Keywords: | has-patch commit |
Cc: |
Description
This is a follow-up to #8825.
When replying to a message thread when you have followed a link from an email notification, it's not possible to send the reply - the following is logged in the the browser's console when the "Send reply" button is clicked:
Uncaught TypeError: e.has is not a function buddypress-messages.min.js?ver=11.1.0:1 at n.sendReply (buddypress-messages.min.js?ver=11.1.0:1:22353) at HTMLDivElement.dispatch (jquery.min.js?ver=3.6.3:2:43184) at y.handle (jquery.min.js?ver=3.6.3:2:41168)
It's also possible to replicate this by refreshing the page having opened it from the inbox view, or by pasting the URL into the browser.
I've replicated this on a clean site with just BuddyPress & Twenty TwentyThree.
Change History (8)
This ticket was mentioned in PR #89 on buddypress/buddypress by @imath.
17 months ago
#3
- Keywords has-patch added
- Make sure the send action can get the Thread ID if the thread view was generated by opening the inbox view or thanks to the BackBone Router (direct URL access).
- Make sure the Thread data used by the Thread's header is initialized as a BackBone Model.
Trac ticket: https://buddypress.trac.wordpress.org/ticket/8870
Hi @davepullig
Thanks for your report, I’ll look at it asap.