Ticket #2485 (new defect)
String storing user's name should be trim()ed when first entered or changed in Control Panel
| Reported by: | greenfeld | Owned by: | garycmartin |
|---|---|---|---|
| Priority: | Unspecified by Maintainer | Milestone: | Unspecified by Release Team |
| Component: | design | Version: | 0.90.x |
| Severity: | Unspecified | Keywords: | sugar-love |
| Cc: | Distribution/OS: | Unspecified | |
| Bug Status: | Unconfirmed |
Description
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.
Change History
Note: See
TracTickets for help on using
tickets.
