[Bugs] #955 UNSP: mimetype database only updated when installing activities

SugarLabs Bugs bugtracker-noreply at sugarlabs.org
Thu Jun 11 09:40:30 EDT 2009


#955: mimetype database only updated when installing activities
------------------------------------------+---------------------------------
    Reporter:  erikos                     |          Owner:  tomeu 
        Type:  defect                     |         Status:  new   
    Priority:  Unspecified by Maintainer  |      Milestone:  0.86  
   Component:  sugar                      |        Version:  0.84.x
    Severity:  Major                      |       Keywords:        
Distribution:  Unspecified                |   Status_field:  New   
------------------------------------------+---------------------------------
 The code to read in the activity/imetypes.xml lives in
 sugar/bundle/ActivityBundle.install This is only executed when installing
 an activity.

 When one unzip a .xo into ~/Activities (when running Sugar) the mimetype
 is not added to the database. There is some code in
 jarabe/model/bundleregistry.py to monitor those folders for changes. We
 could call the mimetype adding there.

 Another case is, when sugar is not running (emulator for example) and one
 places an activity in the ~/Activity folder. This should ideally be
 handled as well.

-- 
Ticket URL: <http://dev.sugarlabs.org/ticket/955>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list