#5660 NORM Never A: Activity.save() throws exception if create_jobject=False

Zarro Boogs per Child bugtracker at laptop.org
Sun Dec 23 20:40:43 EST 2007


#5660: Activity.save() throws exception if create_jobject=False
-----------------------+----------------------------------------------------
 Reporter:  cscott     |       Owner:  marco         
     Type:  defect     |      Status:  new           
 Priority:  normal     |   Milestone:  Never Assigned
Component:  sugar      |     Version:                
 Keywords:  update.1?  |    Verified:  0             
 Blocking:             |   Blockedby:                
-----------------------+----------------------------------------------------
 Activity.save() in sugar/activity/activity.py calls:
 {{{
 logging.debug(... % self._jobject.object_id)
 }}}
 which fails if create_jobject=False in Activity.__init__ (ie, jobject is
 None.)

 The user-visible result is that closing an activity which doesn't create
 jobjects (ie, Terminal, or Pippy-generated activities), generates an ugly
 Keep error, with an Alert, etc.

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



More information about the Bugs mailing list