[buddypress-trac] [BuddyPress Trac] #5505: New activity check

buddypress-trac noreply at wordpress.org
Tue Apr 8 06:55:31 UTC 2014


#5505: New activity check
------------------------------+---------------------
 Reporter:  SGr33n            |       Owner:  imath
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  2.0
Component:  Activity          |     Version:  2.0
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+---------------------
Changes (by imath):

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


Comment:

 In [changeset:"8251"]:
 {{{
 #!CommitTicketReference repository="" revision="8251"
 Insert a new "since" filter for the activity stream to be used by
 HeartBeat check feature

 In rare cases, the field date_recorded of the activity table can be
 updated to a date greater than the most recent activity in terms of id.
 The Heartbeat feature was based on the id field so far, while the activity
 stream is sorting items according to the date_recorded field. As a result,
 in this very particular case, activities with an id greater than the
 activity (which date has been updated) will be loaded again in the stream
 and this until a new activity is published.
 To prevent this to happen, we introduce this new "since" filter to be used
 by the HeartBeat feature once it gets the timestamp of the most recent
 activity displayed in the stream.

 props SGr33n, boonebgorges, imath

 Fixes #5505
 }}}

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


More information about the buddypress-trac mailing list