Closed Bug 1067303 Opened 10 years ago Closed 10 years ago

[Contacts] deferred actions / migrator is not working. errors in console are found

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:2.1+, b2g-v2.1 verified, b2g-v2.2 verified)

VERIFIED FIXED
2.1 S5 (26sep)
blocking-b2g 2.1+
Tracking Status
b2g-v2.1 --- verified
b2g-v2.2 --- verified

People

(Reporter: jmcf, Assigned: jmcf)

References

Details

(Whiteboard: [p=2])

Attachments

(3 files)

STR: Run the Contacts App 

Then in the console it starts appearing different errors:

E/GeckoConsole(22192): [JavaScript Error: "TypeError: fb.utils is undefined" {file: "app://communications.gaiamobile.org/contacts/js/migrator.js" line: 27}]
E/GeckoConsole(22192): [JavaScript Error: "TypeError: fbutils is undefined" {file: "app://communications.gaiamobile.org/contacts/js/deferred_actions.js" line: 36}]
Target Milestone: --- → 2.1 S5 (26sep)
[Blocking Requested - why for this release]:

Uncaught errors in console
blocking-b2g: --- → 2.1?
Whiteboard: [p=2]
Attached file 24055.html
Attachment #8489404 - Flags: review?(francisco)
Attachment #8489404 - Flags: feedback?(hola)
This bug can cause data lose due to problems to migrate from 1.X versions to 2.X

Blocking cause of that.
blocking-b2g: 2.1? → 2.1+
Attachment #8489404 - Flags: feedback?(hola) → feedback+
Comment on attachment 8489404 [details]
24055.html

Really good job, just left a couple of nits related to the unit test part.
Attachment #8489404 - Flags: review?(francisco) → review+
landed in master:

https://github.com/mozilla-b2g/gaia/commit/ebb3f6c3de5e1e6b1642a167866b47081db7d263
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Jose, could you ask for the 2.1 approval?

Thanks!
Flags: needinfo?(jmcf)
Comment on attachment 8489404 [details]
24055.html

[Approval Request Comment]
[Bug caused by] (feature/regressing bug #): Contacts-FTU IAC removal
[User impact] if declined: Very high. Loss of data
[Testing completed]: Yes
[Risk to taking this patch] (and alternatives if risky): Low
[String changes made]:
Attachment #8489404 - Flags: approval-gaia-v2.1?
Flags: needinfo?(jmcf)
Attachment #8489404 - Flags: approval-gaia-v2.1? → approval-gaia-v2.1+
Needs rebasing for v2.1 uplift.
Flags: needinfo?(jmcf)
Depends on: 1056647, 1060101
Flags: needinfo?(jmcf)
(In reply to Ryan VanderMeulen [:RyanVM UTC-4] from comment #8)
> Needs rebasing for v2.1 uplift.

Ryan, This bug depends on two other bugs that would need also uplifting to v2.1

thanks
Hi Jose,

Could you please provide the detailed reproduce steps or video for me to verify this bug?
Thank you very much!
Flags: needinfo?(jmcf)
(In reply to Lancy from comment #11)
> Hi Jose,
> 
> Could you please provide the detailed reproduce steps or video for me to
> verify this bug?
> Thank you very much!

You can launch the Contacts App and see that in the logcat No contacts app related error log appears. 

thanks!
Flags: needinfo?(jmcf)
Attached file logcat_Flame2.1.txt
This issue has been verified successfully on Flame 2.1 & Flame 2.2.
There is no contacts app related error log in logcat.

See the attachment: logcat_Flame2.1.txt & logcat_Flame2.2.txt.

Flame 2.1 build:
Gaia-Rev        77c57eb8a985d5cbd34a597fb1b978ba6e205af6
Gecko-Rev       https://hg.mozilla.org/releases/mozilla-b2g34_v2_1/rev/f05d0a2d2378
Build-ID        20150120001202
Version         34.0
Device-Name     flame
FW-Release      4.4.2
FW-Incremental  eng.cltbld.20150120.035022
FW-Date         Tue Jan 20 03:50:33 EST 2015
Bootloader      L1TC000118D0

Flame 2.2 build:
Gaia-Rev        f5b3d1b6cfa3e702033f613915ae637cb735cbfb
Gecko-Rev       https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/5d7497ce4cc7
Build-ID        20150120002507
Version         37.0a2
Device-Name     flame
FW-Release      4.4.2
FW-Incremental  eng.cltbld.20150120.035540
FW-Date         Tue Jan 20 03:55:51 EST 2015
Bootloader      L1TC000118D0
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: