Closed Bug 934795 Opened 11 years ago Closed 10 years ago

[WAP push][CP] Since USERPIN and NETWPIN are all decimal digit format, suggest default keyboard popping up when PIN request page show is numeric keypad, not QWERTY.

Categories

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

x86_64
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v2.2 fixed)

VERIFIED FIXED
2.1 S5 (26sep)
Tracking Status
b2g-v2.2 --- fixed

People

(Reporter: echu, Assigned: albert)

References

Details

Attachments

(3 files, 2 obsolete files)

Attached image screen shot
Since USERPIN and NETWPIN are all decimal digit, suggest default keyboard popping up when PIN request page show is numeric keypad, not QWERTY.

* Build Number  
Buri              
Gaia:     00cd7534afb8d727531c7a939e54e382b3be713a
Gecko:    http://hg.mozilla.org/mozilla-central/rev/47c8e9b16918
BuildID   20131103040200
Version   28.0a1

* Reproduce Steps
1. Send OTA CP messages to DUT with USERPIN and NETWPIN.
2. Open each message.

* Expected Result
Page requesting users to enter PIN code shows and so does numeric keypad.

* Actual Result
Page requesting users to enter PIN code shows and so does QWERTY keypad.

* Occurrence rate
100%
Whiteboard: [FT:RIL]
Summary: [WAP push][CP] Since USERPIN and NETWPIN are all decimal digit, suggest default keyboard popping up when PIN request page show is numeric keypad, not QWERTY. → [WAP push][CP] Since USERPIN and NETWPIN are all decimal digit format, suggest default keyboard popping up when PIN request page show is numeric keypad, not QWERTY.
You're right for USERPIN secret but I'm wondering if USERPINMAC secret is also a string of decimal digits. We should not change the keyboard if USERPINMAC secret is not a string of decimal digits. I'll take a look at the OMA-WAP-TS-ProvBoot-V1_1-20090728-A.pdf document.
(In reply to José Antonio Olivera Ortega [:jaoo] from comment #1)
> You're right for USERPIN secret but I'm wondering if USERPINMAC secret is
> also a string of decimal digits. We should not change the keyboard if
> USERPINMAC secret is not a string of decimal digits. I'll take a look at the
> OMA-WAP-TS-ProvBoot-V1_1-20090728-A.pdf document.
Even so is it possible that system would know the type of PIN is to trigger correct keyboard?
Whiteboard: [FT:RIL]
Component: Gaia::System → Gaia::Wappush
From  OMA-WAP-TS-ProvBoot-V1_1-20090728-A specs:
When presented to the user as well as when used as input to the MAC calculation, the user PIN MUST be a string of ASCII encoded decimal digits (i.e. octets with hexadecimal values 30 to 39).

I am not codec expert sorry, but I guess it means we can use numeric keyboard.
Attached file UX Spec. OMA Client Provisioning (obsolete) —
UX spec that covers the number pad scenario. Thanks.
Jenny, could you review the spec please? Thanks!
Flags: needinfo?(jelee)
Hi Pau, I've sent you my comments via mail, please take a look, thanks!
Flags: needinfo?(jelee)
Attached file UX Spec. OMA Client Provisioning (obsolete) —
Spec updated.
Attachment #8484807 - Attachment is obsolete: true
The spec that covers this issue has already been confirmed by Jenny in https://bugzilla.mozilla.org/show_bug.cgi?id=935103#c13, so we can start with the implementation.
Thanks Jenny and Pau for your help!
Assignee: nobody → alberto.crespellperez
Attached file Patch
Changed keyboard type for pin input and added a handler to disable accept button when input is empty.
Attachment #8489901 - Flags: review?(gsvelto)
Comment on attachment 8489901 [details] [review]
Patch

Looks good to me with just the minor comment I've left on the PR addressed.
Attachment #8489901 - Flags: review?(gsvelto) → review+
Comment on attachment 8489901 [details] [review]
Patch

Change from comment 10 and test modified because TBPL failed.
Attachment #8489901 - Flags: review+ → review?(gsvelto)
Status: NEW → ASSIGNED
Comment on attachment 8489901 [details] [review]
Patch

Excellent, try is also green.

https://tbpl.mozilla.org/?rev=58d7f39d7b839bb4d02335105336c2f48f4fb9dd&tree=Gaia-Try

Can you merge this yourself or shall I do it?
Attachment #8489901 - Flags: review?(gsvelto) → review+
(In reply to Gabriele Svelto [:gsvelto] from comment #12)
> Comment on attachment 8489901 [details] [review]
> Patch
> 
> Excellent, try is also green.
> 
> https://tbpl.mozilla.org/
> ?rev=58d7f39d7b839bb4d02335105336c2f48f4fb9dd&tree=Gaia-Try
> 
> Can you merge this yourself or shall I do it?

I can, thank you
Master: https://github.com/mozilla-b2g/gaia/commit/9cab72d6a077366aaafd9de360827b0e40890b19
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Here I attach the spec already updated. Thanks!
Attachment #8487104 - Attachment is obsolete: true
Flags: needinfo?(jelee)
Looks good,tks
Flags: needinfo?(jelee)
Target Milestone: --- → 2.1 S5 (26sep)
I have tested using a flame master (Gecko 4440a99 Gaia e920d2d) and it works correctly. 

When the user has to write the PIN code, page requesting users to enter PIN code shows numeric keypad.
Thanks everyone for the work done here. Bug marked as verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: