Closed Bug 959971 Opened 7 years ago Closed 7 years ago

[DSDS] Enter incorrect PIN code 3 times in SIM Manager > SIM security, next page is still in Enter SIM PIN with "-1 tries left" words on it.

Categories

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

x86_64
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:1.3+, firefox29 fixed, b2g-v1.3 verified)

VERIFIED FIXED
blocking-b2g 1.3+
Tracking Status
firefox29 --- fixed
b2g-v1.3 --- verified

People

(Reporter: echu, Assigned: arthurcc)

References

Details

(Whiteboard: dsdsrun1.3-2)

Attachments

(2 files)

Attached image 2014-01-15-16-29-19.png
Enter incorrect PIN code 3 times in SIM Manager > SIM security, next page is still in Enter SIM PIN with "-1 tries left" words on it. Need to exit SIM security and go back again to get PUK code page.

* Build Number  
Fugu              
Gaia      a119a0692c24c5ed7c55bab838bae3ecdb9dbec9
Gecko     15ee4e78431b45922b41dea882464b0ccb6b4fac
BuildID   20140110174141
Version   28.0a2

* Reproduce Steps
1. Make sure one of the SIM PIN is enabled.
2. Go to Settings > SIM Manager > SIM security, press toggle switch of PIN enabled one.
3. Input incorrect PIN code 3 times.

* Expected Result
PUK code request page will show.

* Actual Result
Still in PIN enter page with "-1 tries left" words on it.

* Occurrence rate
100%
See Also: → 926351
blocking-b2g: 1.3? → 1.3+
Duplicate of this bug: 959959
Kaze, is this a dup of a bug you are working on?
Flags: needinfo?(kaze)
Yes, it’s probably related to bug 944601.
Flags: needinfo?(kaze)
Assignee: nobody → kaze
(In reply to Enpei from comment #0)
> Still in PIN enter page with "-1 tries left" words on it.
> 

Disclaimer: testing on a single-SIM device because that’s all I have for now.

I can’t reproduce this on today’s master: the PIN dialog switches to PUK mode. However, I can see a “last try” message above the PUK input, which is confusing and which is fixed by the patch I’ve proposed for bug 944601.

Enpei, can you please confirm this behavior on a single SIM device?
And can you double-check that you get the “-1 tries left part” on dual-SIM devices?
Flags: needinfo?(echu)
Hi Kaze,

I've emailed you the way build Fugu first. Now you should be able to build Fugu. I can still reproduce the bug on Fugu that PUK required page won't show up after entering incorrect PIN 3 times. 
Gaia      fd2154a0f288820933bf727c2b2af3b1b1f47896
Gecko     d8919d498a7bc7c49d7c0eebe5bf340e094c47c0
BuildID   20140117145953
Version   28.0a2

For single SIM device, PUK page will show up after 3 retry.
Flags: needinfo?(echu)
Is this something we could deal locally in Taipei? It would be faster. Thanks!
Flags: needinfo?(arthur.chen)
Yes, I'll check it with dual sim devices.
Flags: needinfo?(arthur.chen)
Steal the bug.
Assignee: kaze → arthur.chen
On Inari, when input incorrect pin code for three times, the reported retry count is 0. However, the retry count is -1 on Fugu.

Evelyn, could you help review the change? Thanks!
Attachment #8363489 - Flags: review?(ehung)
Comment on attachment 8363489 [details]
link to https://github.com/mozilla-b2g/gaia/pull/15580

r=me, thanks! (but I'm thinking if this is what API can normalize)
Attachment #8363489 - Flags: review?(ehung) → review+
Thanks!

master: 5a73c1bc4e7c2017a5594c496baabb809de4824c
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Uplifted 5a73c1bc4e7c2017a5594c496baabb809de4824c to:
v1.3: c01e033fcc2eef88e5c7eb050609c27ebc1e879d
Verified.

Fugu - 
Gaia      bb36b4164d3e51ca04b612e507e1178f80bf240d
Gecko     4227240a4d3e1e418ced160c2a48cb454d7b5645
BuildID   20140204104742
Version   28.0
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.