[buddypress-trac] [BuddyPress Trac] #7450: Problem deleting comment activities

buddypress-trac noreply at wordpress.org
Sat Feb 25 19:24:46 UTC 2017


#7450: Problem deleting comment activities
--------------------------+--------------------
 Reporter:  Maniou        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  highest       |   Milestone:  2.8.2
Component:  Activity      |     Version:  2.8.0
 Severity:  critical      |  Resolution:
 Keywords:  has-patch     |
--------------------------+--------------------
Changes (by r-a-y):

 * version:  1.2 => 2.8.0


Comment:

 Actually, this bug is related to v2.8.0 due to r11312 (see #7394).

 r11312 changed non-existent activity ID lookups to always be set to
 activity ID 0.  So if you did something like this:

 `$a = new BP_Activity_Activity( 999999 );`

 $a->id now equals `0` instead of `999999`, which is logistically correct,
 but activity ID 0 triggers the bug that Maniou reported above.

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


More information about the buddypress-trac mailing list