Closed Bug 1057652 Opened 11 years ago Closed 11 years ago

[Contacts] Contacts passively merge when SIM contact has same name, last name and email but different phone number than a SD card contact when they shouldn't

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v1.4 unaffected, b2g-v2.0 unaffected, b2g-v2.1 affected)

RESOLVED WORKSFORME
Tracking Status
b2g-v1.4 --- unaffected
b2g-v2.0 --- unaffected
b2g-v2.1 --- affected

People

(Reporter: rmitchell, Unassigned)

References

()

Details

(Keywords: regression, Whiteboard: [2.1-flame-test-run-1])

Attachments

(1 file)

Attached file sim merge logcat
When importing contacts from the SIM card with the same first, last name and email to contacts with a contact from the SD card with the same first, last name and email but with a different phone number will merge into one contact with two phone numbers instead of two contacts with one number each. Repro Steps: 1) Update a Flame to 20140821040201 2) Have a contact with the same first/last name and email as contact in the SIM card 3) Import contacts from SIM card including the contact that matches the first save for the phone number Actual: Contacts are passively merged together to make one contact with two numbers Expected: New duplicate contact created with all matching information besides the phone number Environmental Variables: Device: Flame Master (319mb) Build ID: 20140821040201 Gaia: 3584b2723412ed3299c6761f465885d80651c87e Gecko: dac8b4a0bd7c Version: 34.0a1 (Master) Firmware Version: v123 User Agent: Mozilla/5.0 (Mobile; rv:34.0) Gecko/34.0 Firefox/34.0 Repro frequency:100% Link to failed test case: https://moztrap.mozilla.org/manage/case/10294/ See attached: video clip, logcat http://youtu.be/wynaDseoz-I
Issue occurs on flame 2.1(512 mb) flame 2.1(319mb) Environmental Variables: Device: Flame Master (512mb) Build ID: 20140822040202 Gaia: afcdd36f13e75adcdebe57d842a277fd587faf28 Gecko: 0b9dd32d1e16 Version: 34.0a1 (Master) Firmware Version: v123 User Agent: Mozilla/5.0 (Mobile; rv:34.0) Gecko/34.0 Firefox/34.0 actual result One contact with passively imported number issue does not occurs on Open C 2.1 2.0 flame(319mb) Open C 2.0 Flame 1.4(319mb) and open C 1.4 Open C 2.1 Environmental Variables: Device: Open_C Master Build ID: 20140822040202 Gaia: afcdd36f13e75adcdebe57d842a277fd587faf28 Gecko: 0b9dd32d1e16 Version: 34.0a1 (Master) Firmware Version: P821A10V1.0.0B06_LOG_DL User Agent: Mozilla/5.0 (Mobile; rv:34.0) Gecko/34.0 Firefox/34.0 Flame 2.0 Environmental Variables: Device: Flame 2.0 (319mb) Build ID: 20140822000206 Gaia: 64b0c0ae60fdeac953a7e2a3c368d124bf848477 Gecko: 5075528d7241 Version: 32.0 (2.0) Firmware Version: v123 User Agent: Mozilla/5.0 (Mobile; rv:32.0) Gecko/32.0 Firefox/32.0 Open C 2.0 Environmental Variables: Device: Open_C 2.0 Build ID: 20140822000206 Gaia: 64b0c0ae60fdeac953a7e2a3c368d124bf848477 Gecko: 5075528d7241 Version: 32.0 (2.0) Firmware Version: P821A10V1.0.0B06_LOG_DL User Agent: Mozilla/5.0 (Mobile; rv:32.0) Gecko/32.0 Firefox/32.0 Flame 1.4 Environmental Variables: Device: Flame 1.4 (319mb) BuildID: 20140822063011 Gaia: f63cdae1a06c808443ed14de3cd13b61311426e0 Gecko: 7a467e895de5 Version: 30.0 (1.4) Firmware Version: v123 User Agent: Mozilla/5.0 (Mobile; rv:30.0) Gecko/30.0 Firefox/30.0 Open C 1.4 Environmental Variables: Device: Open_C 1.4 BuildID: 20140822063011 Gaia: f63cdae1a06c808443ed14de3cd13b61311426e0 Gecko: 7a467e895de5 Version: 30.0 (1.4) Firmware: P821A10v1.0.0B06_LOG_DL User Agent: Mozilla/5.0 (Mobile; rv:30.0) Gecko/30.0 Firefox/30.0 Actual result New duplicate contact created with all matching information besides the phone number
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(ktucker)
Keywords: regression
This also occurs with email in place of phone number in the bug example Have a contact with the same first/last name and phone number as contact in the SIM card Import contacts from SIM card including the contact that matches the first save for the email Actual: Contacts are passively merged together to make one contact with two emails Expected: New duplicate contact created with all matching information besides the Email
Both issues on Comment 0 and Comment 2 does NOT reproduce any longer on Flame 2.1(319mb): Flame 2.1 Environmental Variables: Device: Flame Master (319mb) BuildID: 20140825040204 Gaia: e424c85eda87a40c0fa64d6a779c3fa368bf770b Gecko: daa84204a11a Version: 34.0a1 (Master) Firmware Version: v123 User Agent: Mozilla/5.0 (Mobile; rv:34.0) Gecko/34.0 Firefox/34.0 The contacts are imported without merging.
Closing this issue, please reopen if this issue is encountered again.
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(ktucker)
Resolution: --- → WORKSFORME
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: