[buddypress-trac] [BuddyPress Trac] #6003: variable firstrow is used in multiple methods that can be called simultaiously

buddypress-trac noreply at wordpress.org
Mon Nov 10 10:34:24 UTC 2014


#6003: variable firstrow is used in multiple methods that can be called
simultaiously
--------------------------+-----------------------------
 Reporter:  andemann      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Core          |    Version:  2.1
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 In buddypress/bp-templates/bp-legacy/jsbuddypress.js the variable firstrow
 is used both in
 jq( document ).on( 'heartbeat-send.buddypress',  on line 1605  to hold the
 timestamp for last updated

 and in jq('#aw-whats-new-submit').on( 'click', function() { on line 101
 it is used to hold a reference towards the first li in the activity list.

 This causes and error if the wordpress heartbeat is triggered while a new
 activity is posted.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6003>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list