Closed Bug 1033980 Opened 11 years ago Closed 7 years ago

When you save two different call records to the same contact, the two call numbers in call log interface show the same

Categories

(Firefox OS Graveyard :: Gaia::Dialer, defect)

ARM
Gonk (Firefox OS)
defect
Not set
major

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: ben.song, Unassigned)

Details

(Whiteboard: [sprd316835])

Attachments

(1 file)

steps: adding a call log into an existing contact,while the phone number string of the call log contains or be contained in the phone numbers which has been included in this existing contact, this bug will be present, and if phone number in this contact has been contained of others,so call logs of this phone number would be updated to the phone number which contains it.finally phone number of some call logs would be updated to a biggest phone number. example: such as 10010,1001011,100101111,three phone numbers belong to a contact and the phone number string of three numbers corresponding records of call log will be updated to 100101111 when add 100 into this existing contact.
Attached image IMG_20140527_162115.jpg
Its judgment mechanism in the function bestMatch of shared/simple_phone_matcher.js is unreasonable.It determines whether two numbers for the same number by determining whether it contains to each other rather than to determine whether they are strict equal.It makes something display in the call logs which have insert in contacts is not their origin phone number,but a maximum number which include the origin number in their common contact,in addition displaying on the screen when you call the original phone through the call logs is also not the origin number,it would take bad experience to users.
Another problem:when you insert an phone number into an existing contact,the code would traverse all the contact in this phone to compare with the new phone,the operation is unnecessary.While the number of phone number in all contacts is larger,so the operation of inserting an phone number into an existing contact is quite consuming time.
Severity: normal → major
Whiteboard: [sprd316835]
Flags: needinfo?(ttsai)
Flags: needinfo?(kkuo)
Flags: needinfo?(ttsai)
Flags: needinfo?(kkuo)
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: