Contacts UI fail to work properly with non-ASCII names

Bug #540755 reported by Roman Yepishev on 2010-03-18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Ubuntu One Servers
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.

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
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) on 2010-04-05
tags: added: desktop+
Changed in ubuntuone-servers:
status: Confirmed → Triaged
Roman Yepishev (rye) on 2010-04-09
Changed in ubuntuone-servers:
milestone: none → funambol-beta
assignee: Ubuntu One Desktop+ team (ubuntuone-desktop+) → Zachery Bir (urbanape)
Zachery Bir (urbanape) on 2010-04-15
Changed in ubuntuone-servers:
status: Triaged → In Progress
Martin Albisetti (beuno) on 2010-04-16
Changed in ubuntuone-servers:
status: In Progress → Fix Committed
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  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers