[Bugs] #541 UNSP: Mime type mess with files downloaded with Browse

SugarLabs Bugs bugtracker-noreply at sugarlabs.org
Fri Mar 13 11:00:44 EDT 2009


#541: Mime type mess with files downloaded with Browse
------------------------------------------+---------------------------------
    Reporter:  sayamindu                  |          Owner:  erikos                     
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  Browse                     |        Version:  0.82.x                     
    Severity:  Major                      |       Keywords:                             
Distribution:  Unspecified                |   Status_field:  Unconfimed                 
------------------------------------------+---------------------------------
 Files which are normally zip files (eg: Open Document files, Epub files,
 etc) seem to have the extension set to application/x-zip in the datastore.
 Steps to reproduce

 1. Open Browse and navigate to http://feedbooks.com/book/102

 2. Download the epub file linked from that page

 3. Try to open the file from the journal (you can have a mock activity
 which has the mimetype for application/epub+zip registered)

 4. View the log for Journal: it contains a line which says:

 {{{
 WARNING root: No activity can open this object, application/x-zip.
 }}}

 This normally occurs when the extension of the file is truncated, which
 means that there is no way to distinguish the file from a normal zip file.

 I have seen this occur on Sucrose 0.82, on XO OS build 767

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


More information about the Bugs mailing list