[buddypress-trac] [BuddyPress Trac] #5478: Activity items can be favorited multiple times by the same user

buddypress-trac noreply at wordpress.org
Thu Mar 27 19:29:09 UTC 2014


#5478: Activity items can be favorited multiple times by the same user
--------------------------+---------------------------
 Reporter:  mpa4hu        |       Owner:  boonebgorges
     Type:  defect (bug)  |      Status:  closed
 Priority:  high          |   Milestone:  2.0
Component:  Activity      |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |
--------------------------+---------------------------
Changes (by boonebgorges):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"8177"]:
 {{{
 #!CommitTicketReference repository="" revision="8177"
 Bail from bp_activity_remove_user_favorite() if the user has not
 previously favorited the item in question

 The failure to do this check could result in the incorrect decrementing of
 the
 item's favorite_count.

 Fixes #5478
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5478#comment:5>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list