[Bugs] #2485 UNSP: String storing user's name should be trim()ed when first entered or changed in Control Panel

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Thu Nov 4 13:05:27 EDT 2010


#2485: String storing user's name should be trim()ed when first entered or changed
in Control Panel
------------------------------------------+---------------------------------
    Reporter:  greenfeld                  |          Owner:                             
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  untriaged                  |        Version:  0.90.x                     
    Severity:  Unspecified                |       Keywords:  sugar-love                 
Status_field:  Unconfirmed                |   Distribution:  Unspecified                
   Seeta_dev:                             |  
------------------------------------------+---------------------------------
 When a user enters their user name during the first boot of Sugar or
 changes it in the "About Me" Control Panel, we should trim() the string
 containing the user's name on both sides, removing all whitespace that the
 user may have accidentally entered.

 Right now this whitespace gets stored as part of the string. I do not know
 if it screws up anything beyond looking strange visually.

 Reproduced in OLPC 0.84 as well as 0.90 SoaS builds.

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


More information about the Bugs mailing list