wrong contact name is displayed for phone number

Bug #1476833 reported by Georges Thill
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
High
Bill Filler
address-book-service (Ubuntu)
Fix Released
High
Renato Araujo Oliveira Filho
telephony-service (Ubuntu)
Fix Released
High
Gustavo Pichorim Boiko

Bug Description

In my address book I have two contacts with very similar numbers. (last 6 digits changed in the example)

Person A: +352 661 123456
Person B: +352 691 123456

When I receive a call or try to compose a message to Person B, the phone always displays the name of Person A. The same happens in call records.

The only way to have the name of Person B displayed upon calls or message sending is to delete Person A from the address book.

This is very strange, because phone numbers are prefix codes, thus ignoring a leading digit in a phone number seems like the wrongest thing to do in this context.

The bug is still present in the current MX4 image (revision 3)

Related branches

Revision history for this message
Bill Filler (bfiller) wrote :

@tiagosh
Can you check if this is bug with libphonenumber or parsing we are doing? Perhaps the move to libphonenumber everywhere will fix it?

Changed in address-book-app (Ubuntu):
assignee: nobody → Renato Araujo Oliveira Filho (renatofilho)
importance: Undecided → High
Changed in canonical-devices-system-image:
milestone: none → ww34-2015
assignee: nobody → Bill Filler (bfiller)
importance: Undecided → Medium
Changed in telephony-service (Ubuntu):
assignee: nobody → Tiago Salem Herrmann (tiagosh)
no longer affects: address-book-app (Ubuntu)
Changed in telephony-service (Ubuntu):
importance: Undecided → High
Bill Filler (bfiller)
Changed in address-book-service (Ubuntu):
assignee: nobody → Renato Araujo Oliveira Filho (renatofilho)
importance: Undecided → High
Revision history for this message
Tiago Salem Herrmann (tiagosh) wrote :

When ContactWatcher performs a search for "+352 661 123456", address-book-service is returning both PersonA and PersonB.
ContactWatcher uses always the first match.

Bill Filler (bfiller)
Changed in canonical-devices-system-image:
importance: Medium → High
Changed in telephony-service (Ubuntu):
assignee: Tiago Salem Herrmann (tiagosh) → Gustavo Pichorim Boiko (boiko)
status: New → Confirmed
Changed in address-book-service (Ubuntu):
status: New → Confirmed
Bill Filler (bfiller)
Changed in canonical-devices-system-image:
status: New → In Progress
Revision history for this message
Zachary Igielman (zacharyi123) wrote :

This app also affects me using OTA-5 on my N4. Sometimes I will receive a message or phone call and my Ubuntu touch device tells me it is from a one person when actually it is from another. It seems to happen now and again, not every time. Usually, it is when I start a conversation/call with someone, and when they reply, it comes through from the person I was texting/calling before them.

Changed in address-book-service (Ubuntu):
status: Confirmed → In Progress
Bill Filler (bfiller)
Changed in telephony-service (Ubuntu):
status: Confirmed → Fix Released
Changed in address-book-service (Ubuntu):
status: In Progress → Fix Released
Changed in canonical-devices-system-image:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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