#10578 NORM 11.2.0-: Leaving a shared activity only logs shared users in the Journal present at the time you exited the activity

Zarro Boogs per Child bugtracker at laptop.org
Fri Apr 1 17:09:42 EDT 2011


#10578: Leaving a shared activity only logs shared users in the Journal present at
the time you exited the activity
---------------------------------+------------------------------------------
           Reporter:  greenfeld  |       Owner:  erikos                           
               Type:  defect     |      Status:  new                              
           Priority:  normal     |   Milestone:  11.2.0-M4                        
          Component:  sugar      |     Version:  Development build as of this date
         Resolution:             |    Keywords:  collaboration                    
        Next_action:  code       |    Verified:  0                                
Deployment_affected:             |   Blockedby:                                   
           Blocking:             |  
---------------------------------+------------------------------------------
Changes (by erikos):

  * next_action:  add to build => code


Comment:

 - share activity on A and join on B

 - A: participants are A and B

 - B: participants are A

 self.channel_self_handle is None in the case of the sharer. The patch
 below should fix it.

 {{{
 diff --git a/src/sugar/presence/activity.py
 b/src/sugar/presence/activity.py
 index b616510..4998395 100644
 --- a/src/sugar/presence/activity.py
 +++ b/src/sugar/presence/activity.py
 @@ -523,6 +523,7 @@ class _ShareCommand(_BaseCommand):
          self.text_channel = join_command.text_channel
          self.text_channel_group_flags =
 join_command.text_channel_group_flags
          self.tubes_channel = join_command.tubes_channel
 +        self.channel_self_handle = join_command.channel_self_handle

          self._connection.AddActivity(
              self._activity_id,
 }}}

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


More information about the Bugs mailing list