[Bugs] #3912 sugar UNSP: Sugar needs to preserve known extensions

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Mon Sep 17 10:09:37 EDT 2012


#3912: Sugar needs to preserve known extensions
------------------------------------------+---------------------------------
    Reporter:  greenfeld                  |          Owner:  erikos                     
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  sugar                      |        Version:  0.97.x                     
    Severity:  Unspecified                |       Keywords:                             
Distribution:  OLPC                       |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------
 The Sugar environment (Browse, Journal, etc.) needs to be able to preserve
 extensions when known.

 One possible approach:

  * If the Browse activity downloads a file with an extension, we should
 note this in the metadata along with the mime type.
  * When copied to an external drive or the Documents folder, if the
 original extension is present in the Journal entry's name or one of the
 valid mime type names is, we *must* copy the entry to USB with said
 extension.  If no extension is present we should append the original.
  * Activities which convert journal mime types without creating a new item
 should delete the original extension metadata.
  * Renaming a file on an external device/in the Documents folder to have
 an extension will give it that extension if it is one of the valid ones
 for a mime type or the original.

 This would allow users to download OLPC leases/development keys without
 renaming the file afterward.  Martin believes this is a regression to
 previous releases.

 Seen in 13.1.0 os1.

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


More information about the Bugs mailing list