Closed
Bug 848233
Opened 11 years ago
Closed 11 years ago
[Gaia][Contacts] Use new WebAPI to get SIM contacts
Categories
(Firefox OS Graveyard :: Gaia::Contacts, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: allstars.chh, Assigned: allstars.chh)
References
Details
Attachments
(1 file, 1 obsolete file)
In Bug 847741 we're going to move the mozContacts.getSimContacts to mozMobileConnection.icc (nsIDOMIccManager), so this bug is filed in Gaia side to make the corresponding change.
Updated•11 years ago
|
Assignee: nobody → jmcf
Comment 1•11 years ago
|
||
(In reply to Yoshi Huang[:allstars.chh][:yoshi] from comment #0) > In Bug 847741 we're going to move the mozContacts.getSimContacts to > mozMobileConnection.icc (nsIDOMIccManager), so this bug is filed in Gaia > side to make the corresponding change. please update this, once the platform side of this bug is up and running.
Assignee | ||
Comment 2•11 years ago
|
||
I'll let you know when Bug 847741 is r+ and sr+, hope we could commit into gecko and gaia at the same time.
Assignee | ||
Comment 3•11 years ago
|
||
Hi, Jose M. Bug 847741 is already r+ and sr+, can you help to prepare Gaia side modification? Or if you're not available, It seems Gaia change is only a few lines, I could do this. Thank you.
Assignee | ||
Comment 4•11 years ago
|
||
ping? Jose M. Cantera Sorry I don't know your irc name.
Comment 5•11 years ago
|
||
(In reply to Yoshi Huang[:allstars.chh][:yoshi] from comment #4) > ping? Jose M. Cantera > Sorry I don't know your irc name. feel free to submit a Gaia patch and add me as a reviewer thanks!
Comment 6•11 years ago
|
||
I guess this work is not part of 1.1 isnt? Thx!
Assignee | ||
Comment 7•11 years ago
|
||
(In reply to Francisco Jordano [:arcturus] from comment #6) > I guess this work is not part of 1.1 isnt? No, it isn't in 1.1.
Assignee: jmcf → allstars.chh
Assignee | ||
Comment 8•11 years ago
|
||
Assignee | ||
Comment 9•11 years ago
|
||
Attachment #744987 -
Attachment is obsolete: true
Assignee | ||
Comment 10•11 years ago
|
||
Comment on attachment 744989 [details]
[Pull Request]
Hi, Jose
Can you review this patch for me?
thanks
Attachment #744989 -
Flags: review?(jmcf)
Comment 11•11 years ago
|
||
(In reply to Yoshi Huang[:allstars.chh][:yoshi] from comment #7) > (In reply to Francisco Jordano [:arcturus] from comment #6) > > I guess this work is not part of 1.1 isnt? > > No, it isn't in 1.1. the patch would only work with MozCentral, right?
Assignee | ||
Comment 12•11 years ago
|
||
(In reply to Jose M. Cantera from comment #11) > the patch would only work with MozCentral, right? Yes, But I haven't landed Bug 847741 yet. If I need to land it first please let me know.
Comment 13•11 years ago
|
||
Hi Yoshi, The code changes look trivial, but I would prefer to have the Gecko patch landed in Moz Central before adding the r+ to this patch thanks for your help!
Comment 14•11 years ago
|
||
Stealing the review since it's already causing: E/GeckoConsole( 948): [JavaScript Error: "TypeError: navigator.mozContacts.getSimContacts is not a function" {file: "app://communications.gaiamobile.org/contacts/js/utilities/import_sim_contacts.js" line: 54}]
Updated•11 years ago
|
Attachment #744989 -
Flags: review?(jmcf) → review+
Comment 15•11 years ago
|
||
https://github.com/mozilla-b2g/gaia/commit/488d82ecc92e3d6067293c90070fba00cf95900e
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 16•11 years ago
|
||
Hm the TypeError is gone but I get the "Could not import contacts from SIM" message :(
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 17•11 years ago
|
||
I think I have tested this before sending Pull Request, anyway I'll test it again to check this. Thanks for the review and report this, Gregor.
Assignee | ||
Comment 18•11 years ago
|
||
Hi, Gregor I just test it and it seems working fine. Gaia: 674fdd8a15ca582eb179310c7a2f4f474e38b645 Gecko(mercurial): changeset: 130780:69008b1fd6eb Can you tell me what error you met? Thanks
Assignee | ||
Comment 19•11 years ago
|
||
Gregor, I still cannot reproduce the error you said, can you help to check this? Thanks
Status: REOPENED → NEW
Flags: needinfo?(anygregor)
Comment 20•11 years ago
|
||
Hm now it works. No idea what happened.
Status: NEW → RESOLVED
Closed: 11 years ago → 11 years ago
Flags: needinfo?(anygregor)
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•