#2193 BLOC Untriag: salut sharing problems

Zarro Boogs per Child bugtracker at laptop.org
Sun Jul 15 12:07:21 EDT 2007


#2193: salut sharing problems
-------------------------------+--------------------------------------------
  Reporter:  dcbw              |       Owner:  sjoerd   
      Type:  defect            |      Status:  new      
  Priority:  blocker           |   Milestone:  Untriaged
 Component:  presence-service  |     Version:           
Resolution:                    |    Keywords:           
  Verified:  0                 |  
-------------------------------+--------------------------------------------
Comment (by dcbw):

 In the B4 PS log, you'll note that at 1184523901.2238, there's a 'Buddy
 left' for 'dcbw b3'.  The B3 comes back at 1184523991.9625 as noticed by
 salut, but there's never a corresponding 'New Buddy' in the PS, meaning
 that the PS never notices that the new buddy is valid, and therefore never
 shows up on the mesh view.

 What seems to be happening here is that the PS isn't removing the buddy
 from self._buddies, which means that get_buddy() doesn't create a new
 buddy and retrieve the presence info again.

 I believe the PS should be calling self._buddies.pop(buddy.props.objid,
 None) in _buddy_disappeared_cb().  We only want to remove the buddy from
 self._buddies when all the buddy's telepathy handles have been removed and
 the buddy is no longer visible from any CM, which is what removing it from
 _buddy_disappeared_cb() should do for us.

-- 
Ticket URL: <http://dev.laptop.org/ticket/2193#comment:2>
One Laptop Per Child <http://laptop.org/>



More information about the Bugs mailing list