Contacts UI fail to work properly with non-ASCII names

Bug #540755 reported by Roman Yepishev
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Ubuntu One Servers
Fix Released
Medium
Zachery Bir

Bug Description

The by_letter view for new contacts ui does not work properly with non-ASCII names:
...
 return first_letter.match(/[A-Za-z]/) ? first_letter.toLowerCase() : '0';
...

For example, all contacts with names in cyrillic get grouped under '0' letter/number which is not that user-friendly.
Since that affects all contacts whose first name is not [A-Za-z], this is a pretty major issue.

Revision history for this message
Roman Yepishev (rye) wrote :
visibility: private → public
Changed in ubuntuone-servers:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Ubuntu One Desktop+ team (ubuntuone-desktop+)
tags: added: contacts webui
Revision history for this message
Roman Yepishev (rye) wrote :

In order for this to be fixed, the javascript view should have one function updated:

function first_letter(name) {
    var first_letter = name.substring(0, 1);
    return first_letter.toLowerCase()
}

Martin Albisetti (beuno)
tags: added: desktop+
Changed in ubuntuone-servers:
status: Confirmed → Triaged
Roman Yepishev (rye)
Changed in ubuntuone-servers:
milestone: none → funambol-beta
assignee: Ubuntu One Desktop+ team (ubuntuone-desktop+) → Zachery Bir (urbanape)
Zachery Bir (urbanape)
Changed in ubuntuone-servers:
status: Triaged → In Progress
Martin Albisetti (beuno)
Changed in ubuntuone-servers:
status: In Progress → Fix Committed
Revision history for this message
Roman Yepishev (rye) wrote :

X-Bzr-Revision-Number: 2606

Changed in ubuntuone-servers:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.