Closed Bug 949798 Opened 11 years ago Closed 10 years ago

[B2G][Cost Control]No limit for input text field for Data Alert

Categories

(Firefox OS Graveyard :: Gaia::Cost Control, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v1.3 fixed, b2g-v1.3T fixed, b2g-v1.4 fixed)

VERIFIED FIXED
1.3 C3/1.4 S3(31jan)
Tracking Status
b2g-v1.3 --- fixed
b2g-v1.3T --- fixed
b2g-v1.4 --- fixed

People

(Reporter: pbylenga, Assigned: mai)

References

Details

Attachments

(2 files)

Attached image DataUsageLimitSize.png
Description:
In Cost Control App (Usage), there is no limit to the input text field for Data Alerts allowing the user to set an unreal small data size limit. This can cause a notification of "0.00 B limit passed" when set and alert limit is reached.

Repro Steps:
1) Updated Buri to Build ID: 20131212004004
2) Launch Cost Control App (Usage)
3) Tap Gear Icon to open settings
4) Tap Data use alert and tap GB bar
5) Attempt to enter a small decimal starting with 0.0 and followed by at least eight 0's before choosing an integer >0.


Actual:
User is able to set the limit to an unrealistically small value.

Expected:
Only actual data sizes are accepted.

Environmental Variables
Device: Buri v1.2 COM RIL
Build ID: 20131212004004
Gecko: http://hg.mozilla.org/releases/mozilla-b2g26_v1_2/rev/8bae10bb0aed
Gaia: 6d02039072a2ae5cf9225a6f4c78ed49decfab5c
Platform Version: 26.0
RIL Version: 01.02.00.019.102 
Firmware Version: v1.2_20131115

Notes:
Repro frequency: 5/5, 100%
See attached: screenshot

This issue reproduces on Buri 1.1

Environmental Variables
Device: Buri v 1.1 COM RIL
Build ID: 20131210041202
Gecko: http://hg.mozilla.org/releases/mozilla-b2g18/rev/05117f42088f
Gaia: 6ff3a607f873320d00cb036fa76117f6fadd010f
Platform Version: 18.1
RIL Version: 01.01.00.019.281 
Firmware Version: 20131115
Ayman, this was never defined, can you provide some good limits for this problem, please?
Flags: needinfo?(aymanmaat)
Assignee: nobody → mri
referencing comment 2 redirecting ni? to Harly as he is overseeing UX for Cost Control
Flags: needinfo?(aymanmaat) → needinfo?(hhsu)
Attached file patch v1.0
Please, could your review the patch?. 

On this proposal, the user can only type a natural number with 3 significant digits (999) or a real number with two significant digits and two decimal digits (99.99). 

WDYT? Is this approach right for you?
Regards.
Attachment #8359783 - Flags: review?(salva)
About the issue, I think what Marina did would be a good solution.
Nevertheless, the spec was previously done by TEF, so I ni Rafael for his opinion.
Flags: needinfo?(hhsu) → needinfo?(hello)
Comment on attachment 8359783 [details]
patch v1.0

Nice and clear. Just two little comments on GiHub, see them and merge! thank you :mai.
Attachment #8359783 - Flags: review?(salva) → review+
Master: 0da8cd6d256e976f7dba33ca90b33da43dbd374b
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
blocking-b2g: --- → 1.3?
Not blocking, but asking for approval status.  Approve for uplift please?
blocking-b2g: 1.3? → ---
Flags: needinfo?(praghunath)
Comment on attachment 8359783 [details]
patch v1.0

NOTE: Please see https://wiki.mozilla.org/Release_Management/B2G_Landing to better understand the B2G approval process and landings.

[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 #8359783 - Flags: approval-gaia-v1.3?(praghunath)
Comment on attachment 8359783 [details]
patch v1.0

Approved for 1.3 gaia
Attachment #8359783 - Flags: approval-gaia-v1.3?(praghunath) → approval-gaia-v1.3+
Flags: needinfo?(praghunath)
Uplifted 0da8cd6d256e976f7dba33ca90b33da43dbd374b to:
v1.3: 6a68dc63f83b679f14f9ddc64c05d2559e961abb
Tested and working
Hamachi
Build ID: 20140307120944
Git commit: 5bc9b5c3
Platform verson: 30.0a1
Status: RESOLVED → VERIFIED
Whiteboard: [fxos-bug-bash-1.2]
Target Milestone: --- → 1.3 C3/1.4 S3(31jan)
removing ni? to rafa as this is fixed
Flags: needinfo?(hello)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: