[buddypress-trac] [BuddyPress Trac] #5369: Activity comment cache is broken

buddypress-trac noreply at wordpress.org
Mon Feb 3 02:43:51 UTC 2014


#5369: Activity comment cache is broken
--------------------------+---------------------------
 Reporter:  boonebgorges  |       Owner:  boonebgorges
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  2.0
Component:  Activity      |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |
--------------------------+---------------------------
Changes (by boonebgorges):

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


Comment:

 In [changeset:"7773"]:
 {{{
 #!CommitTicketReference repository="" revision="7773"
 Fix persistent caching for BP_Activity_Activity::get_activity_comments()

 - Use the 'bp' cache group consistently
 - When a query shows that an activity item has no comments, do not cache
 the
   boolean value false. This will cause a cache miss the next time around.
   Instead, store the string 'none', and then convert it to false when
   requerying.

 Fixes #5369
 }}}

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


More information about the buddypress-trac mailing list