[buddypress-trac] [BuddyPress] #4222: Deleting Comment with @mention Resends Notification

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Jun 20 17:07:16 UTC 2012


#4222: Deleting Comment with @mention Resends Notification
----------------------------+------------------
 Reporter:  SlothLoveChunk  |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  1.6
Component:  Notifications   |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+------------------

Comment (by SlothLoveChunk):

 I appreciate all the info.

 I put the manual break points into 'bp_activity_add()' and even when the
 email is triggered nothing appears in the logs.  When I add a comment or
 something else that would trigger an activity entry entries do appear in
 the log.  That makes me think this function isn't the problem.

 I moved up the chain a bit and added the same manual breakpoints to
 'bp_activity_at_name_filter_updates()' and when a email is triggered I do
 see entries in the log.  When no email is triggered there are no entries.
 The log entries contain (some info changed for sake of privacy):

 [20-Jun-2012 16:58:43]

 '''activity''': id: 17414
 '''activity''': item_id: 1
 '''activity''': secondary_item_id: 175747
 '''activity''': user_id: 16864
 '''activity''': primary_link: <URL>
 '''activity''': component: blogs
 '''activity''': type: new_blog_comment

 '''activity''': action: <user> commented on the post, <link>

 '''activity''': content:

 Hi <a href='http://www.domain.com/members/username/' rel="nofollow"></a><a
 href='http://www.domain.com/members/username/' rel='nofollow'></a><a
 href='http://www.domain.com/members/username/' rel='nofollow'></a><a
 href='http://www.domain.com/members/username/' rel='nofollow'><a
 href='http://www.domain.com/members/username/'
 rel='nofollow'>@username</a></a>, <rest_of_comment_content> [&hellip;]

 '''activity''': date_recorded: 2012-06-02 05:07:27
 '''activity''': hide_sitewide: 0
 '''activity''': mptt_left: 0
 '''activity''': mptt_right: 0
 '''activity''': is_spam: 1

 The strangest part of this to me is all links in the 'content'.  It's hard
 to tell, but only one user is mentioned in this comment, yet there are
 five identical @mention links.

 I'm more than happy to continue adding breakpoints.  Just let me know what
 you'd like to see.  I really hope this is helpful and not a distraction.

 Take care!

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4222#comment:9>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list