Closed
Bug 978014
Opened 11 years ago
Closed 10 years ago
[FDN] Edit FDN contact does not ask for PUK2 password when PIN2 gets blocked
Categories
(Firefox OS Graveyard :: Gaia::Settings, defect, P2)
Tracking
(feature-b2g:2.1, b2g-v2.0 affected, b2g-v2.1 verified, b2g-v2.2 verified)
People
(Reporter: poojas, Assigned: sergi)
References
Details
(Whiteboard: [caf priority: p2][CR 725720][FT:COMMS])
Attachments
(4 files)
Prerequisite:
1. Should know PUK2 code before trying STR
Steps to reproduce:
1. Go to Settings->Call Settings->Fixed dialing numbers->Authorized numbers
2. Edit any existing contact. It will ask for PIN2.
3. Enter wrong PIN2 three times so that PIN2 gets blocked
Expected Result:
It should ask for PUK2 code as PIN2 is already blocked.
Actual result:
It just returns back to fdn contact list page without editing contact.
This is because Gaia only handles "IncorrectPassword" (incorrect pin2) error case in updateFdnContact() function at [1].
And in rest all cases just print default error message
"Error: Could not edit FDN contact on SIM card"
It doesn't handle "SimPuk2" (puk2 needed) error message
[1]https://github.com/mozilla-b2g/gaia/blob/master/apps/settings/js/simcard_dialog.js line 239
Depends on: CAF-v2.0-FC-metabug
Updated•11 years ago
|
Blocks: CAF-v2.0-FC-metabug
No longer depends on: CAF-v2.0-FC-metabug
Comment 2•11 years ago
|
||
Hi EJ,
This is more like a bug rather than feature.
Could you take a look at this?
Flags: needinfo?(ejchen)
Comment 3•11 years ago
|
||
Assign to EJ first, but very likely this can't be done before FL.
nominate 2.0? and target to fix before FC.
Assignee: nobody → ejchen
blocking-b2g: --- → 2.0?
Flags: needinfo?(ejchen)
Comment 4•11 years ago
|
||
Yes, it looks like a bug and I think we can postpone this after S3 to fix.
I would update if I got any updates. thanks !
Comment 5•11 years ago
|
||
Hi David, the FDN feature is developed by Comms team, could you find the appropriate person to solve this? Thanks.
Assignee: ejchen → nobody
blocking-b2g: 2.0? → backlog
Flags: needinfo?(dscravaglieri)
Comment 6•11 years ago
|
||
Hi Michal, do you mind taking a look? It's FDN feature bug related to gaia setting, thank you.
Flags: needinfo?(mbudzynski)
Comment 7•11 years ago
|
||
nominate 2.1? for triage.
CAF requests this to be in 2.1.
blocking-b2g: backlog → 2.1?
Comment 8•11 years ago
|
||
(In reply to Wesley Huang [:wesley_huang] from comment #7)
> nominate 2.1? for triage.
> CAF requests this to be in 2.1.
Per email and offline conversation on this, setting the feature-b2g flag as 2.1 as this is being targeted for 2.1 FL
feature-b2g: --- → 2.1
Comment 9•11 years ago
|
||
Hi, because of all the Contacts Haida work I have to finish this sprint, I don't think I'll find any time to work on FDN.
Flags: needinfo?(mbudzynski)
Updated•11 years ago
|
Assignee: nobody → fernando.campo
Comment 10•11 years ago
|
||
Is this target for this sprint? If so could we try to estimate the task, just to get used to estimations :)
Updated•11 years ago
|
Flags: needinfo?(dscravaglieri)
Comment 11•11 years ago
|
||
(In reply to Francisco Jordano [:arcturus] [:francisco] from comment #10)
> Is this target for this sprint? If so could we try to estimate the task,
> just to get used to estimations :)
Right now, it seems that Fernando has problems to reproduce/fix this bug due to his UK SIM card so it seems that he will not be able to work on it :(
Comment 12•11 years ago
|
||
(In reply to Maria Angeles Oteo (:oteo) from comment #11)
> (In reply to Francisco Jordano [:arcturus] [:francisco] from comment #10)
> > Is this target for this sprint? If so could we try to estimate the task,
> > just to get used to estimations :)
>
> Right now, it seems that Fernando has problems to reproduce/fix this bug due
> to his UK SIM card so it seems that he will not be able to work on it :(
Yep, right now I don't have access to any simcard with PIN2 or PUK2, waiting till monday to try at LDN's office.
Comment 13•11 years ago
|
||
will get back to it as soon as I have access to SIMs to test with.
Assignee: fernando.campo → nobody
Comment 14•11 years ago
|
||
ni Bhavana and Wesley, could you provide more info regarding to Comment 8 and if this is 2.1 feature it needs Comms team to allocate resource to solve it. Thank you.
Flags: needinfo?(whuang)
Flags: needinfo?(bbajaj)
Comment 15•11 years ago
|
||
(In reply to howie [:howie] from comment #14)
> ni Bhavana and Wesley, could you provide more info regarding to Comment 8
> and if this is 2.1 feature it needs Comms team to allocate resource to solve
> it. Thank you.
That's correct, this was waived by CAF for 2.0 and and the expectation was to get this resolved in 2.1, hence comment #8.
Flags: needinfo?(bbajaj)
Comment 16•11 years ago
|
||
Hei Fernando,
do you have the SIMs you needed?
Flags: needinfo?(fernando.campo)
Comment 17•11 years ago
|
||
Sadly, no :( only have sims with PIN1 and PUK1, not the other ones.
Orange not helping much on the helpline. O2...well, you know O2.
Only one left is my spanish personal card, but I don't want to mess much with it, being away.
Flags: needinfo?(fernando.campo)
Updated•11 years ago
|
Whiteboard: [FT:COMMS]
Comment 18•10 years ago
|
||
Once bug 1020757 lands, it would be pretty easy to fix this bug by calling handleCardLockError from within the updatefdncontact at https://github.com/mozilla-b2g/gaia/blob/master/apps/settings/js/simcard_dialog.js#241. Wondering if you would be able to take this bug as well?
Comment 19•10 years ago
|
||
Wesley, can you please find an owner as soon as possible? Thanks!
Updated•10 years ago
|
Assignee: nobody → sergi.mansilla
blocking-b2g: 2.1? → backlog
Flags: needinfo?(whuang)
Target Milestone: --- → 2.1 S3 (29aug)
Assignee | ||
Comment 20•10 years ago
|
||
This sounds like a regression of this bug: https://bugzilla.mozilla.org/show_bug.cgi?id=976470
Flags: needinfo?(sergi.mansilla)
Comment 21•10 years ago
|
||
(In reply to Sergi Mansilla [:sergi] (Telenor) from comment #20)
> This sounds like a regression of this bug:
> https://bugzilla.mozilla.org/show_bug.cgi?id=976470
And, do you mean this is more like a regression rather than feature?
Are you still working on this? We would need ETA estimation.
Flags: needinfo?(sergi.mansilla)
Updated•10 years ago
|
blocking-b2g: backlog → ---
Comment 22•10 years ago
|
||
Sergi will resume working on this.
ETA and target milestone are set accordingly.
Flags: needinfo?(sergi.mansilla)
Whiteboard: [FT:COMMS] → [FT:COMMS][ETA:9/19]
Target Milestone: 2.1 S3 (29aug) → 2.1 S5 (26sep)
Updated•10 years ago
|
Whiteboard: [FT:COMMS][ETA:9/19] → [CR 725347][FT:COMMS][ETA:9/19]
Updated•10 years ago
|
Whiteboard: [CR 725347][FT:COMMS][ETA:9/19] → [caf priority: p2][CR 725347][FT:COMMS][ETA:9/19]
Comment 23•10 years ago
|
||
NI: sergi can you update where we are here on this, the ETA is set for topday (9/19) and I see nothing here.
Flags: needinfo?(whuang)
Flags: needinfo?(sergi.mansilla)
Assignee | ||
Comment 24•10 years ago
|
||
Hi,
I'm pretty sure this bug is related to https://bugzilla.mozilla.org/show_bug.cgi?id=1020757, and I have been waiting for feedback on that one for a while. The good news is that I got a SIM card today that might allow me to test all the scenarios of the bug and hopefully close these issues.
Sergi
Flags: needinfo?(sergi.mansilla)
Assignee | ||
Comment 25•10 years ago
|
||
Attachment #8493042 -
Flags: review?(francisco)
Comment 26•10 years ago
|
||
Comment on attachment 8493042 [details] [review]
Github PR
LGTM, Sergi do you think we can have any unit test?
If no, perhaps we could do a follow up.
Attachment #8493042 -
Flags: review?(francisco) → review+
Assignee | ||
Comment 27•10 years ago
|
||
Hi Francisco, this code is likely to change in the near future because of https://bugzilla.mozilla.org/show_bug.cgi?id=1070961. Besides, the FDN/PIN2 dialog is likely to be refactored a bit with some coming issues. I'd like to open a follow-up bug that tests simcard_dialog.js instead of adding tests to this one. Sounds good?
Flags: needinfo?(francisco)
Comment 28•10 years ago
|
||
Definitely, let's land the fix, and we do the follow up.
Thanks!
Flags: needinfo?(francisco)
Assignee | ||
Comment 29•10 years ago
|
||
Merged at e1fd99454b6cd5da4f2c58f928fc04c6d03f478f
Flags: needinfo?(whuang)
Assignee | ||
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [caf priority: p2][CR 725347][FT:COMMS][ETA:9/19] → [caf priority: p2][CR 725720][FT:COMMS][ETA:9/19]
Comment 30•10 years ago
|
||
Comment on attachment 8493042 [details] [review]
Github PR
[Approval Request Comment]
[Bug caused by] (feature/regressing bug #):
[User impact] if declined:
[Testing completed]:
[Risk to taking this patch] (and alternatives if risky):
[String changes made]:
Attachment #8493042 -
Flags: approval-gaia-v2.1?
Updated•10 years ago
|
Attachment #8493042 -
Flags: approval-gaia-v2.1? → approval-gaia-v2.1+
Comment 31•10 years ago
|
||
status-b2g-v2.1:
--- → fixed
status-b2g-v2.2:
--- → fixed
Whiteboard: [caf priority: p2][CR 725720][FT:COMMS][ETA:9/19] → [caf priority: p2][CR 725720][FT:COMMS]
Comment 32•10 years ago
|
||
This issue has been successfully verified on Flame 2.1&2.2.
See attachment: verified_v2.1.MP4.
Reproducing rate: 0/5
But this bug also exist on Flame 2.0.
See attch:v2.0_1226.mp4 and logcat_1226.txt.
Reproducing rate: 5/5
Flame 2.0 build:
Gaia-Rev f9d6e3d83c3922e9399a6c27f5ce4cdd27bdfd05
Gecko-Rev https://hg.mozilla.org/releases/mozilla-b2g32_v2_0/rev/45112935086f
Build-ID 20141126000203
Version 32.0
Device-Name flame
FW-Release 4.4.2
FW-Incremental eng.cltbld.20141126.032754
FW-Date Wed Nov 26 03:28:05 EST 2014
Bootloader L1TC00011880
Flame 2.1 build:
Gaia-Rev db2e84860f5a7cc334464618c6ea9e92ff82e9dd
Gecko-Rev https://hg.mozilla.org/releases/mozilla-b2g34_v2_1/rev/211eae88f119
Build-ID 20141126001202
Version 34.0
Device-Name flame
FW-Release 4.4.2
FW-Incremental eng.cltbld.20141126.033519
FW-Date Wed Nov 26 03:35:30 EST 2014
Bootloader L1TC00011880
FLame 2.2 build:
Gaia-Rev 824a61cccec4c69be9a86ad5cb629a1f61fa142f
Gecko-Rev https://hg.mozilla.org/mozilla-central/rev/acde07cb4e4d
Build-ID 20141125040209
Version 36.0a1
Device-Name flame
FW-Release 4.4.2
FW-Incremental eng.cltbld.20141125.113029
FW-Date Tue Nov 25 11:30:43 EST 2014
Bootloader L1TC00011880
Comment 33•10 years ago
|
||
Comment 34•10 years ago
|
||
Comment 35•10 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•