Closed Bug 1015060 Opened 10 years ago Closed 10 years ago

[NFC][Contact] Receiver does not receive the latest contact if the contact has been updated more than twice

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:2.0+, b2g-v2.0 verified, b2g-v2.1 verified)

VERIFIED FIXED
2.0 S4 (20june)
blocking-b2g 2.0+
Tracking Status
b2g-v2.0 --- verified
b2g-v2.1 --- verified

People

(Reporter: ashiue, Assigned: arcturus)

References

Details

Attachments

(3 files)

Attached image S__1064966.jpg
Gaia      7db23414f2d632f4d00b5023ac1090b6045dc5fd
Gecko     https://hg.mozilla.org/mozilla-central/rev/2619a4def1b9
BuildID   20140522160203
Version   32.0a1

Two phone with NFC

STR:
1. Enable NFC on both phones
2. Add a new contact(user1) on phone A
3. Phone A update user1 to user11, and save
4. Phone A update user11 to user111, and save
5. Phone A go to user111 detail view
6. Tap 2 phones together to share user111 
7. Check what phone reveive

Expected result:
Phone should receive user111 

Actual result:
Phone receive user11

(*Note: I tried transfer contact via bluetooth, it worked well.)
Summary: [NFC][Contact] Receiver does not receive the latest contact if the contact has been updated over 2 times → [NFC][Contact] Receiver does not receive the latest contact if the contact has been updated more than twice
Hi Michal, please check what is happened. Thanks
blocking-b2g: --- → 2.0?
Flags: needinfo?(mbudzynski)
major issue on new feature
blocking-b2g: 2.0? → 2.0+
Component: NFC → Gaia::Contacts
ni? to Sergi as this is might be related to bug 1015094
Flags: needinfo?(mbudzynski) → needinfo?(sergi.mansilla)
We have the feeling this bug could be related to bug 1015094, tomorrow we will try to verify.
Moving to this sprint, we need to get ride of blockers!
Target Milestone: --- → 2.0 S4 (20june)
Taking the NFC bugs
Assignee: nobody → francisco
Attached file Pointer to pr 20440
Hi folks,

adding you too for review, not just a nfc bug, but also better to try on it.

Basically when we were saving a contact in the form, we were not passing the changes through the application, so apps that had reference to the old contact they keep it.

@Michal, this will affect your work on the haidficaition, i'm looking forward for having those broadcast messages.

Thanks!
Attachment #8439193 - Flags: review?(mbudzynski)
Attachment #8439193 - Flags: review?(jmcf)
Comment on attachment 8439193 [details] [review]
Pointer to pr 20440

Great Francisco, I love how small but meaningful this patch is. R+, just small nits on GH. 

I'll try to replicate similar behavior in Haida now.
Attachment #8439193 - Flags: review?(mbudzynski) → review+
Thanks Michal, just updated your comments in GH.
Comment on attachment 8439193 [details] [review]
Pointer to pr 20440

I left a tiny comment on GH, though
Attachment #8439193 - Flags: review?(jmcf) → review+
(In reply to Jose Manuel Cantera from comment #11)
> Comment on attachment 8439193 [details] [review]
> Pointer to pr 20440
> 
> I left a tiny comment on GH, though

Adding suggested change.
Landed in master:

https://github.com/arcturus/gaia/commit/1e3f9ff32018d0702ab269851a3c75a1280c633a
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Verified on
Gaia      23e06c3624309db22ad9cb736d89700768b42b36
Gecko     https://hg.mozilla.org/releases/mozilla-aurora/rev/12161a842a8e
BuildID   20140618160200
Version   32.0a2
Status: RESOLVED → VERIFIED
Flags: needinfo?(sergi.mansilla)
This issue has been verified successfully on Flame2.1.

Reproducing rate: 0/5
See attachment: Verify_Flame_NFC.mp4

Flame 2.0 build version:
Gaia-Rev        8d1e868864c8a8f1e037685f0656d1da70d08c06
Gecko-Rev       https://hg.mozilla.org/releases/mozilla-b2g32_v2_0/rev/c756bd8bf3c3
Build-ID        20141127000203
Version         32.0
(In reply to Coler from comment #16)
> This issue has been verified successfully on Flame2.1.
> 
> Reproducing rate: 0/5
> See attachment: Verify_Flame_NFC.mp4
> 
> Flame 2.0 build version:
> Gaia-Rev        8d1e868864c8a8f1e037685f0656d1da70d08c06
> Gecko-Rev      
> https://hg.mozilla.org/releases/mozilla-b2g32_v2_0/rev/c756bd8bf3c3
> Build-ID        20141127000203
> Version         32.0

Update the build Version:
Gaia-Rev        5372b675e018b6aac97d95ff5db8d4bd16addb9b
Gecko-Rev       https://hg.mozilla.org/releases/mozilla-b2g34_v2_1/rev/f34377ae402b
Build-ID        20141127001201
Version         34.0
Attached video Verify_Flame_NFC.MP4
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: