#10965 HIGH 11.2.0-: When connected to school server and using gabble buddy is drawn twice in home view

Zarro Boogs per Child bugtracker at laptop.org
Sat Jun 11 11:26:03 EDT 2011


#10965: When connected to school server and using gabble buddy is drawn twice in
home view
------------------------------+---------------------------------------------
           Reporter:  erikos  |       Owner:  erikos                           
               Type:  defect  |      Status:  new                              
           Priority:  high    |   Milestone:  11.2.0-final                     
          Component:  sugar   |     Version:  Development build as of this date
         Resolution:          |    Keywords:  collaboration                    
        Next_action:  code    |    Verified:  1                                
Deployment_affected:          |   Blockedby:                                   
           Blocking:          |  
------------------------------+---------------------------------------------
Changes (by erikos):

  * next_action:  diagnose => code


Comment:

 When we get the members when establishing the connection in gabble we
 often get as well ourself and hence add ourself as a buddy. We do handle
 ourself separately, though.

 http://git.sugarlabs.org/sugar/mainline/blobs/master/src/jarabe/model/neighborhood.py#line554

 We should check here for the following:

 {{{
             if handle == self._self_handle:
                 logging.debug('_Account.__get_contact_attributes_cb, do
 not add ourself %r', handle)
                 continue
 }}}

 @dsd, yes this very likely triggers #10671.

-- 
Ticket URL: <http://dev.laptop.org/ticket/10965#comment:3>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list