Closed Bug 944658 Opened 11 years ago Closed 11 years ago

[Flatfish][Contact] no setting page shown when taping on setting gear in Contacts

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
1.3 C2/1.4 S2(17jan)

People

(Reporter: ericcc, Assigned: rik)

Details

(Whiteboard: [developer+])

Attachments

(1 file)

Attached image ContactsGear.png
Gaia: f2562a74396da6d50a1a3f474ad72d935f8c3e90 │ Gecko: 58fd6fd69cf4f78e715108a7393cf34b3d87e1af │ BuildID 20131129064521 │ Version 28.0a1 │ ro.build.version.incremental=20131129 1. Open "Contact". 2. Tap the setting gear. 3. No setting page shown.
blocking-b2g: --- → 1.3?
Flags: needinfo?(frlee)
this is a bug, change it to 1.3+
blocking-b2g: 1.3? → 1.3+
Flags: needinfo?(frlee)
Whiteboard: [developer+]
Assignee: nobody → anthony
I'm seeing two errors when I press the gear button: E/GeckoConsole( 3794): [JavaScript Error: "TypeError: iccManager is undefined" {file: "app://communications.gaiamobile.org/contacts/js/utilities/icc_handler.js" line: 16}] And when I go to another app, come back to Contacts (without killing Contacts), I'm seeing this when pressing it again: E/GeckoConsole( 2868): [JavaScript Error: "TypeError: orderCheckBox is undefined" {file: "app://communications.gaiamobile.org/contacts/js/views/settings.js" line: 82}]
OK so looking at this screen on mobile, this is not an error but actually a "feature". The settings menu has some import contacts and export contacts items. We query the SIM cards to display this. So we need to remove those menu items and the code shouldn't query the SIM cards. Joe: I think someone more familiar with the contacts code base should look at this. Also, I'm on PTO for 3 weeks so… :)
Assignee: anthony → nobody
Flags: needinfo?(jcheng)
I trace Contacts app code before Setting page shown it will do Contacts.Settings.init() in [ apps/communications/contacts/js/contacts.js line 603 function:showSettings ] and it will trigger [ apps/communications/contacts/js/contacts.js line 42 -> IccHandler.init(new SimDomGenerator(), contacts.Settings.cardStateChanged); ] this code try to get navigator.mozIccManager in icc_handler.js, but navigator.mozIccManager === undefined, so it cause an error. there is no SIM card in flatfish, so this code need to avoid to access navigator.mozIccManager or Gecko need to handle this situation. maybe it will happen in device without SIM card, not just flatfish.
(In reply to Joe Young from comment #4) > there is no SIM card in flatfish, so this code need to avoid to access > navigator.mozIccManager or Gecko need to handle this situation. > maybe it will happen in device without SIM card, not just flatfish. It won't happen in a device without SIM, cause the API will be present and we will show the buttons for import/export to the SIM disabled. I guess we will need a bit of work to be aware of cases where we have devices with no API, not just flatfish, but also the simulator and similar. Probably this is a regression of the DSDS work, but we will need a bit of extra work, cause showing a button disabled I think is not acceptable in flatfish. Cheers, F.
to Rik when he returns after the new year
Assignee: nobody → anthony
Flags: needinfo?(jcheng)
Target Milestone: --- → 1.3 C2/1.4 S2(17jan)
QAWANTED. it is beleived that another bug should have fixed this bug ni? francisco for the bug #
Flags: needinfo?(francisco.jordano)
Hi, I think this has been fixed in bug 947859 Cheers!
Flags: needinfo?(francisco.jordano)
Cheers!!
I'm unsure why this would be 1.3 blocker specifically, as I don't recall work happening for flatfish on any branch other than trunk. Renominating for more discussion.
blocking-b2g: 1.3+ → 1.3?
contribution program build will be based on master-C. remove 1.3? flag.
Setting qawanted per comment 7 and 8 to close this bug if it has been fixed.
Keywords: qawanted
I checked myself and it was fixed.
Status: NEW → RESOLVED
Closed: 11 years ago
Keywords: qawanted
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: