Closed
Bug 839094
Opened 12 years ago
Closed 12 years ago
PhoneNumberJS: handle countries sharing the same meta-data correctly
Categories
(Firefox OS Graveyard :: Gaia::Contacts, defect)
Tracking
(blocking-b2g:-, firefox19 wontfix, firefox20 wontfix, firefox21 fixed, b2g18+ fixed, b2g18-v1.0.0 wontfix, b2g18-v1.0.1 fixed)
People
(Reporter: gwagner, Assigned: gwagner)
References
Details
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
gal
:
review+
overholt
:
approval-mozilla-b2g18+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #818507 +++
I did an adb logcat, and I'm noticing this a lot:
[JavaScript Error: "formats is undefined" {file: "resource://gre/modules/PhoneNumber.jsm" line: 78}]
Lets start a new bug since this seems to be another bug and all the old comments don't apply.
Assignee | ||
Comment 1•12 years ago
|
||
Mike, what gecko version are you using, mc, b2g18, b2g18_v1*?
Comment 2•12 years ago
|
||
According to the More Information panel in "Device Information", I'm on 1.0.1.0-prerelease.
Does that tell you what I need? If not, where can I find this information?
Assignee | ||
Comment 3•12 years ago
|
||
Seems like we have a problem in PhoneNumberJS with mcc 302. Investigating
Assignee: nobody → anygregor
Assignee | ||
Comment 4•12 years ago
|
||
Mcc in question is "mcc":302. I can't find it in our international country code table :(
Comment 5•12 years ago
|
||
(In reply to Gregor Wagner [:gwagner] from comment #4)
> Mcc in question is "mcc":302. I can't find it in our international country
> code table :(
that's unfortunate. It seems the library is not complete enough. At least SIM importation should not break when mcc is not available for some reason in phonenumber.js
Assignee | ||
Comment 6•12 years ago
|
||
Stupid mistake :)
The first entry doesn't have the same country initials of course.
Attachment #711569 -
Flags: review?(gal)
Assignee | ||
Updated•12 years ago
|
Summary: Importing SIM contacts stays stuck on spinner → PhoneNumberJS: handle countries sharing the same meta-data correctly
Assignee | ||
Comment 7•12 years ago
|
||
Attachment #711569 -
Attachment is obsolete: true
Attachment #711569 -
Flags: review?(gal)
Attachment #711627 -
Flags: review?(gal)
Comment 8•12 years ago
|
||
Comment on attachment 711627 [details] [diff] [review]
patch
Nice catch. Dump bug.
Attachment #711627 -
Flags: review?(gal) → review+
Assignee | ||
Comment 9•12 years ago
|
||
Assignee | ||
Comment 10•12 years ago
|
||
(In reply to Jose M. Cantera from comment #5)
> (In reply to Gregor Wagner [:gwagner] from comment #4)
> > Mcc in question is "mcc":302. I can't find it in our international country
> > code table :(
>
> that's unfortunate. It seems the library is not complete enough. At least
> SIM importation should not break when mcc is not available for some reason
> in phonenumber.js
It was another mistake. I was looking in the wrong table.
Assignee | ||
Comment 11•12 years ago
|
||
This most likely fixes bug 834755 and should be tef+
blocking-b2g: --- → tef?
Comment 12•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 14•12 years ago
|
||
Comment 15•12 years ago
|
||
FWIW I think this should block :)
Assignee | ||
Comment 16•12 years ago
|
||
Yes this should definitely block!
Comment 17•12 years ago
|
||
Flags: in-testsuite+
Comment 18•12 years ago
|
||
Error messages without clarifying the user impact here do not make this a blocker - can you please nominate for uplift with an explanation of the risk/reward here and we'll look at approving this week if low risk.
blocking-b2g: tef? → -
status-b2g18:
--- → affected
status-b2g18-v1.0.0:
--- → wontfix
status-b2g18-v1.0.1:
--- → affected
tracking-b2g18:
--- → +
Comment 19•12 years ago
|
||
The user impact for me is that I can't send SMSes without an internationalized phone #. And we just drop back to an empty compose window with no feedback. That was bug 834755 which was duped to this one.
Comment 20•12 years ago
|
||
Batch edit: Bugs still affected on b2g18 after 2/13 merge to v1.0.1 branch are affected on v1.0.1 branch.
Assignee | ||
Comment 21•12 years ago
|
||
I missed the comments here because of all the bugzilla spam we get recently. I thought this was uplifted last week and now we lost one week of testing :(
User impact is that people in random countries outside of the US can't send SMS or maybe even can't make phone calls to local numbers at all if we add this to the phoneNumber validation path as suggested by a few other blocking bugs.
blocking-b2g: - → tef?
Comment 22•12 years ago
|
||
This bug is tracking-b2g18+ please go ahead with an uplift nomination and we can review the risks in taking this (as mentioned in comment 18). We've got time still to land fixes to v1.0.1 for tef so this isn't a blocker based on not being a partner request at this time.
blocking-b2g: tef? → -
Comment 23•12 years ago
|
||
Comment on attachment 711627 [details] [diff] [review]
patch
Approved for uplift.
Attachment #711627 -
Flags: approval-mozilla-b2g18+
Assignee | ||
Updated•12 years ago
|
Comment 24•12 years ago
|
||
https://hg.mozilla.org/releases/mozilla-b2g18/rev/48475dda7060
FYI, I folded the two csets into one for the uplift.
Also, it's not clear to me whether this was approved to land on b2g18_v1_0_1 at this time or not, so I didn't land it there. Please set checkin-needed if it needs uplift there as well and I'll get it.
status-firefox19:
--- → wontfix
status-firefox20:
--- → wontfix
status-firefox21:
--- → fixed
Keywords: checkin-needed
Target Milestone: --- → B2G C4 (2jan on)
Comment 26•12 years ago
|
||
Keywords: checkin-needed
You need to log in
before you can comment on or make changes to this bug.
Description
•