Closed
Bug 1015817
Opened 10 years ago
Closed 10 years ago
[NFC][Contacts] Receiver should get only one record with multiple phone numbers when sender updated contact's phone number and shared via NFC again
Categories
(Firefox OS Graveyard :: Gaia::Contacts, defect)
Tracking
(blocking-b2g:2.0+)
People
(Reporter: ashiue, Assigned: arcturus)
References
Details
(Whiteboard: [p=0.5])
Gaia f3b5d74dd3428c89cab06db734c62f3c9dbb8c4d Gecko https://hg.mozilla.org/mozilla-central/rev/e86a0d92d174 BuildID 20140525160203 Version 32.0a1 Two phone with NFC STR: 1. Enable NFC on both phones 2. Add a new contact(user1) on phone A 3. Tap 2 phones to share user1 4. Phone A update user1's phone number 5. Tap 2 phones to share user1 again 6. Check what phone B receive Expected result: phone B should have only one "user1" record with 2 phone numbers Actual result: phone B has two "user1" records with different phone number
Blocks: NFC-Gaia
Reporter | ||
Updated•10 years ago
|
blocking-b2g: --- → 2.0?
Comment 1•10 years ago
|
||
Michal, Please take a look at this one.
Blocks: b2g-NFC-2.0
Flags: needinfo?(mbudzynski)
Updated•10 years ago
|
Component: NFC → Gaia::Contacts
Comment 2•10 years ago
|
||
ni? to Sergi as this is might be related to bug 1015094
Flags: needinfo?(mbudzynski) → needinfo?(sergi.mansilla)
Assignee | ||
Updated•10 years ago
|
Whiteboard: [p=0.5]
Comment 4•10 years ago
|
||
There are some complex rules for the merging algorithm to determine whether 2 contacts are the same one. For example, it uses email to match them, and probably phone number. When you create contact A, what fields are initially filled? Cheers.
Assignee | ||
Updated•10 years ago
|
Target Milestone: --- → 2.0 S4 (20june)
Assignee | ||
Comment 5•10 years ago
|
||
Alison, can you provide Sergin with the info he is asking in comment 4? Thanks.
Flags: needinfo?(ashiue)
Reporter | ||
Comment 6•10 years ago
|
||
Hi Sergi, I created contact A with user name, phone, and email.
Flags: needinfo?(ashiue)
Assignee | ||
Comment 8•10 years ago
|
||
Hi, when we do a nfc sharing, we apply merging rules based on passive merging, which means that we are pretty aggressive in the comparison to be sure we are dealing with two contacts that are the same. Those passive rules says something like: - If two contacts have same name and surname and both have email or phones, the fields must match to merge them. Which means, if we have contact A with phone1 in one phone, when importing (no matter if it's NFC, SIM, etc) contact A with phone2 those will be treated as different contacts. Taking into account those rules, that are defined to make the whole process estable, we can say this is a not valid bug, since according to our rules not having same phone number is a condition to be considered two different contacts. Closing as worksforme since it's the desired behavior Cheers, F.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
Updated•10 years ago
|
Flags: needinfo?(sergi.mansilla)
You need to log in
before you can comment on or make changes to this bug.
Description
•