[buddypress-trac] [BuddyPress Trac] #5503: possible fatal in bp_groups_prefetch_activity_object_data() when no group to fetch

buddypress-trac noreply at wordpress.org
Mon Mar 31 21:27:12 UTC 2014


#5503: possible fatal in bp_groups_prefetch_activity_object_data() when no group
to fetch
--------------------------+---------------------------
 Reporter:  DJPaul        |       Owner:  boonebgorges
     Type:  defect (bug)  |      Status:  closed
 Priority:  highest       |   Milestone:  2.0
Component:  Groups        |     Version:  2.0
 Severity:  critical      |  Resolution:  fixed
 Keywords:                |
--------------------------+---------------------------
Changes (by boonebgorges):

 * owner:   => boonebgorges
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"8224"]:
 {{{
 #!CommitTicketReference repository="" revision="8224"
 When prefetching group data for an activity loop, avoid the query when
 there's nothing to fetch

 When there are no uncached_ids, don't attempt to query. There's nothing to
 get,
 and it will result in an invalidly formatted SQL query.

 Fixes #5503
 }}}

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


More information about the buddypress-trac mailing list