Closed Bug 838556 Opened 12 years ago Closed 11 years ago

[COST CONTROL] Undefined behaviour when you change the date of your device to a preivous date

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:-, b2g18+)

RESOLVED FIXED
blocking-b2g -
Tracking Status
b2g18 + ---

People

(Reporter: carlosmartinez, Assigned: salva)

References

Details

(Whiteboard: testrun 4)

Attachments

(2 files)

Tested in unagi with Gecko-066b9d7.Gaia-f7f5a0c. STR: 1-Enable 3G connection 2-Browse some web pages 3-Open cost control app and verify 3G data usage is being counted 4-Open settings 5-Go to date & time 6-Change date to a previous date Expected result --> Have to be clarified, as it could happen when you travel Actual result --> Weird things, like increasing data usage counter, or decrease to a negative number if you come back to the current date
Whiteboard: testrun 4
blocking-b2g: tef? → -
Assignee: nobody → salva
Depends on: 844774
See Also: → 820414
Depends on: 858003
We need some clarification by the UX team.
Flags: needinfo?(hello)
I have some thoughts about it, but Jorge Juan is owning this now, so I'll talk to him and let him follow up.
Flags: needinfo?(hello) → needinfo?(hi.jorgejuanp)
Attached file initial draft
Flags: needinfo?(hi.jorgejuanp)
Hi, I´ve being having a look at this and the thing is that, when user changes the device date to a previous date, it generates a "future data usage" that is already counted (and billed, in some cases). I did a first WF showing two posibilities: 1. Add the "future data usage" to the last day within the actual time period. 2. Take the "future data usage", make an average, and add it to the whole time period. This would let user have a more accurate view of her data consuming patterns.
Thanks Jorge Juan, now let me think a little bit about it. Nevertheless, without the proper back-end support it won't be implementable. Thanks again!
Hi, there´s a new proposal on the attachment.
Attached file Device Date change
Thak you Jorge Juan. Very useful.
Recent conversations have lead to move the complete historical to match the last entry to the present day set by the user. This is a user-centric solution where the focus is on user's relative notion of time. Which is important is not to display when the usage happened in a global timeline (2013/06/03UTC) but when happened from the user perspective (yesterday, the day before yesterday, three days ago...). This can not be implemented until Multi-SIM support lands on BE which is scheduled for 1.2
Bug 858003 includes now the minimal functionality to allow this to be solved. Need of QA to confirm the problem exists no longer.
Keywords: qawanted
Note wireframes are out of date. Add a need info if you need more explanations an see comment 9.
Unable to repro on Buri 1.3 mozilla RIL. The data usage amount remains unaffected when the user changes the date. The chart merely shifts the usage report to the newly set time. Build ID: 20140102004001 Gecko: http://hg.mozilla.org/releases/mozilla-aurora/rev/61f553e5db49 Gaia: 01e9da49be2cc4bc134eeefc434740d572ec2246 Platform Version: 28.0a2 RIL Version: 01.01.00.019.281
removing 'qawanted' keyword based on Comment 12.
Keywords: qawanted
Per comment 9 and comment 12, that is the expected behavior. Congratulations to everybody, special thanks to :acperez :)
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: