Closed
Bug 938406
Opened 11 years ago
Closed 11 years ago
[B2G][Contacts] Unable to access contacts imported from Facebook after rebooting device
Categories
(Firefox OS Graveyard :: Gaia::Contacts, defect)
Tracking
(blocking-b2g:1.3+, firefox27 wontfix, firefox28 fixed, firefox29 fixed, b2g-v1.3 fixed)
RESOLVED
FIXED
blocking-b2g | 1.3+ |
People
(Reporter: nkot, Assigned: baku)
References
Details
(Keywords: regression)
Attachments
(3 files)
(deleted),
text/plain
|
Details | |
(deleted),
patch
|
ehsan.akhgari
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
ehsan.akhgari
:
review+
|
Details | Diff | Splinter Review |
Description:
Unable to access contacts imported from Facebook after device reboot. Before rebooting works OK.
Repro Steps:
1) Updated Buri to BuildID: 20131113040200
2) Open Contacts app
3) Tap gear icon and select Sync Facebook friends
4) Open contact details of any of imported contacts
5) Reboot device
6) Open Contacts
Actual:
Unable to access imported from Facebook contact
Expected:
Able to access imported from Facebook contact
Environmental Variables:
Device: Buri 1.3
BuildID: 20131113040200
Gaia: 7243b75041c93bc7deb240131748d0b164f3f0b0
Gecko: 7b014f0f3b03
Version: 28.0a1
Firmware Version: 20131104
Repro frequency: 100%
Updated•11 years ago
|
blocking-b2g: --- → 1.3?
Keywords: regression,
regressionwindow-wanted
Updated•11 years ago
|
QA Contact: sparsons
Comment 1•11 years ago
|
||
This issue started to occur on the Buri 1.3 Build ID: 20131030040204
Gaia 162cc9cd7153dcb284e5f54d5598fb27f1ab18aa
SourceStamp 829d7bef8b0a
BuildID 20131030040204
Version 28.0a1
Last working Buri 1.3 Build ID: 20131029040205
Gaia 92c097fd7ac9886f937d9decb0e03ab673deaa1b
SourceStamp 518f5bff0ae4
BuildID 20131029040205
Version 28.0a1
Keywords: regressionwindow-wanted
Comment 2•11 years ago
|
||
If it's a regression on the Gaia side, then it's likely caused by bug 923637.
Sarah - I need gecko commits on that regression window. Can you include that?
Flags: needinfo?(sparsons)
Comment 3•11 years ago
|
||
(In reply to Jason Smith [:jsmith] from comment #2)
> If it's a regression on the Gaia side, then it's likely caused by bug 923637.
>
> Sarah - I need gecko commits on that regression window. Can you include that?
Although what seems more likely here is this could just be a bug in the Data Store API.
Comment 4•11 years ago
|
||
Here it is for the 1.3 10/30 build.
Mercurial-Information: <project name="mozilla-central" path="gecko" remote="hgmozillaorg" revision="829d7bef8b0a"/>
-->
<project name="gecko.git" path="gecko" remote="mozillaorg" revision="fdbfcf7d24795f482e6969b0f664c53c2b3c2ed9"/>
(In reply to Jason Smith [:jsmith] from comment #2)
> If it's a regression on the Gaia side, then it's likely caused by bug 923637.
>
> Sarah - I need gecko commits on that regression window. Can you include that?
Comment 5•11 years ago
|
||
There are lots of [JavaScript Error: "too much recursion"] errors in the log. This can be a gaia bug.
Sarah, can you please bisect the gaia range? Thanks!
Comment 6•11 years ago
|
||
(In reply to :Ehsan Akhgari (needinfo? me!) from comment #5)
> There are lots of [JavaScript Error: "too much recursion"] errors in the
> log. This can be a gaia bug.
>
> Sarah, can you please bisect the gaia range? Thanks!
If it's Gaia related, then it's likely bug 923637 causing this. It's the only contacts patch that's data store related with facebook involved.
Comment 7•11 years ago
|
||
(In reply to Jason Smith [:jsmith] from comment #6)
> (In reply to :Ehsan Akhgari (needinfo? me!) from comment #5)
> > There are lots of [JavaScript Error: "too much recursion"] errors in the
> > log. This can be a gaia bug.
> >
> > Sarah, can you please bisect the gaia range? Thanks!
>
> If it's Gaia related, then it's likely bug 923637 causing this. It's the
> only contacts patch that's data store related with facebook involved.
within the target regression range*
Comment 8•11 years ago
|
||
https://github.com/mozilla-b2g/gaia/commit/33156ceb8a7a63f07f264a2903fe5d703314bdfe is the commit you'll want to look at.
Comment 9•11 years ago
|
||
Here is the gecko commmit for 1.3 10/29 revision="518f5bff0ae4"
Flags: needinfo?(sparsons)
Comment 10•11 years ago
|
||
Checked the gecko push log - there really isn't anything here that looks like a potential cause of this bug.
Adding bug 923637 since it looks like the likely cause right now of this bug.
Blocks: 923637
Comment 12•11 years ago
|
||
Hi guys,
I cannot repro this. Please could you share by private email (jmcf@tid.es), the details of the account you are using to test?
thanks!
Flags: needinfo?(nkot)
Comment 13•11 years ago
|
||
Now I've been able to reproduce. This is clearly a platform issue.
navigator.getDataStores(DATASTORE_NAME).then(function success(ds) {
}, function error(err) {} );
It is not calling the success nor the error CB. Ehsan, please could you have a look at it?
thanks!
Flags: needinfo?(nkot) → needinfo?(ehsan)
Comment 14•11 years ago
|
||
Andrea, can you please take a look? Thanks!
Assignee: nobody → amarchesini
Flags: needinfo?(ehsan)
Assignee | ||
Comment 15•11 years ago
|
||
> I cannot repro this. Please could you share by private email (jmcf@tid.es),
> the details of the account you are using to test?
Can you share this with me too? I don't have a facebook account and I cannot reproduce this issue with mochitests.
Comment 16•11 years ago
|
||
I've seen this error once, using Firefox Desktop (with DEBUG=1 option), was generated by another error in the app, somehow the error log is not able to display the real reason.
If I find again will try to go deeper on what's going on.
Comment 17•11 years ago
|
||
For what its worth I ran into this today trying to test the patches for bug 924139.
Comment 18•11 years ago
|
||
Andrea, can you describe how this part of getDataStoreCreate() is supposed to work?
http://mxr.mozilla.org/mozilla-central/source/dom/datastore/DataStoreService.js#306
Are we guaranteed to have receiveMessage() called after this?
Flags: needinfo?(amarchesini)
Assignee | ||
Comment 19•11 years ago
|
||
Actually, it can happen that receiveMessage is not called! Thanks
Attachment #8343228 -
Flags: review?(ehsan)
Flags: needinfo?(amarchesini)
Assignee | ||
Comment 20•11 years ago
|
||
ah... I don't know if this patch fixes this bug. But for sure this patch is needed.
Comment 21•11 years ago
|
||
Comment on attachment 8343228 [details] [diff] [review]
patch
Review of attachment 8343228 [details] [diff] [review]:
-----------------------------------------------------------------
Can you add a test for this please?
Attachment #8343228 -
Flags: review?(ehsan) → review+
Assignee | ||
Comment 22•11 years ago
|
||
I don't think I can simulate this behaviour with a test. It's a timing issue.
It means that IDB is slower than the request. Hard to say that that code actually runs.
Assignee | ||
Comment 23•11 years ago
|
||
Comment 24•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 25•11 years ago
|
||
The problem can still be reproduced on unagi Gecko 0871ff3
Status: RESOLVED → REOPENED
Flags: needinfo?(amarchesini)
Resolution: FIXED → ---
Assignee | ||
Comment 26•11 years ago
|
||
Jose, can you help me to reproduce this issue?
Flags: needinfo?(amarchesini) → needinfo?(jmcf)
Comment 27•11 years ago
|
||
Sent a private email with detailed instructions and test account data
Flags: needinfo?(jmcf)
Assignee | ||
Comment 28•11 years ago
|
||
The first patch was not actually able to sent the event properly.
Attachment #8346079 -
Flags: review?(ehsan)
Assignee | ||
Comment 29•11 years ago
|
||
This patch removes an additional space between // and dump(...
I know that is not related to this patch but I hate that space any time I see that code :)
BTW, this patch has been tested on a real device.
Updated•11 years ago
|
Attachment #8346079 -
Flags: review?(ehsan) → review+
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 30•11 years ago
|
||
Keywords: checkin-needed
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
status-b2g-v1.3:
--- → affected
Comment 32•11 years ago
|
||
Hi John,
Could be so kind of uplifting this patch to 1.3 branch?
Bug 949214 is breacking the smoketest and it seems that will be fixed as soon as this patch lands in that branch.
Thanks a lot!!
Flags: needinfo?(jhford)
Comment 33•11 years ago
|
||
Looks like this is a gecko patch. Ryan, could you please take a look at this?
Flags: needinfo?(jhford) → needinfo?(ryanvm)
Comment 34•11 years ago
|
||
status-firefox27:
--- → wontfix
status-firefox28:
--- → fixed
status-firefox29:
--- → fixed
Flags: needinfo?(ryanvm)
You need to log in
before you can comment on or make changes to this bug.
Description
•