Closed Bug 830287 Opened 12 years ago Closed 12 years ago

[COST CONTROL] No error message is shown when trying to update balance while in airplane mode

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:-, b2g18+ fixed, b2g18-v1.0.1 fixed)

RESOLVED FIXED
blocking-b2g -
Tracking Status
b2g18 + fixed
b2g18-v1.0.1 --- fixed

People

(Reporter: carlosmartinez, Assigned: salva)

References

Details

Attachments

(1 file)

Tested in unagi with Gecko-1e1821a Gaia-9d4983b. STR: 1-Insert a non configured prepaid VIVO SIM card 2-Long tap power button to activate airplane mode 3-Pull down notification tray 4-Tap in the credit module 5-Select I´m prepaid, activate balance threshold, set internet report & remainders 6-Try to update your balance Expected result --> An error message should be shown "Airplane mode ON Airplane mode - balance update and top-up OFF In detail balance view" Actual result --> Nothing is shown
blocking-b2g: --- → tef?
Whiteboard: testrun 2
blocking-b2g: tef? → -
tracking-b2g18: --- → +
QAWanted : check to make sure that airplane mode/mobile data off isn't bypassed.
With bypassed you mean that if when in airplane mode you can connect to the internet? If that is what you mean, no, ni internet connection is available and I cannot place calls, so airplane mode is working fine.
Keywords: qawanted
Whiteboard: testrun 2
Assignee: nobody → salva
Bug caused by (feature/regressing bug #): this one User impact if declined: medium Testing completed: yes Risk to taking this patch (and alternatives if risky): low
Attachment #709036 - Flags: review?(francisco.jordano)
Attachment #709036 - Flags: approval-gaia-v1?
Airplane mode is causing SIM state set to 'absent'. In order to try this patch, open CC application in a normal state with coverage signal and then, pass to airplane mode. The SIM state issue should be filed as a bug if it does not exist.
(In reply to Salvador de la Puente González [:salva] from comment #4) > The SIM state issue should be filed as a bug if it does not exist. Salva, do you mean we have to file a B2G bug to fix this bug?
Flags: needinfo?(salva)
(In reply to Marcelino Veiga Tuimil [:sonmarce] from comment #5) > (In reply to Salvador de la Puente González [:salva] from comment #4) > > The SIM state issue should be filed as a bug if it does not exist. > > Salva, do you mean we have to file a B2G bug to fix this bug? I think so but I did not file the bug myself because I was waiting to land this bug in order to show an easy STR.
Flags: needinfo?(salva)
Comment on attachment 709036 [details] Added error for airplane mode and make errors be unified under an error matrix Nice work, tried on the phone and working perfectly.
Attachment #709036 - Flags: review?(francisco.jordano) → review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Depends on: 837755
Let me clarify comment #4. The STR reported in comment #1 was written before resolving bug #831274. As now the Cost Control application checks if SIM is absent before starting, the STR of comment #1 is not reproducible. I opened a bug about this. It is bug #837755 Actual STR for this is: 1 - Insert any SIM 2 - Check there is no coverage issues nor in airplane mode 3 - Open Cost Control application 4 - Enable airplane mode 5 - Press update Expected: An explanation about we are in airplane mode Current: NOTE: now is solved so the expected behavior appears here but before this patch no message was shown.
Just to clarify, this patch fixes the problem in Gaia, notifying you are in airplane mode. But there is a problem in Gecko, saying there is no SIM when you are in airplane mode. This is the bug 837755, that have to be fixed for Cost Control to work in all cases.
No longer depends on: 837755
See Also: → 837755
Does this involve late-l10n or are we re-using strings? That will affect our decision to approve here.
Reusing. Indeed the problem was the message was not shown, not the message did not exist.
Comment on attachment 709036 [details] Added error for airplane mode and make errors be unified under an error matrix Thanks, approval.
Attachment #709036 - Flags: approval-gaia-v1? → approval-gaia-v1+
v1-train: 765dc61e660ba34553fd55fd6f8c7ba7107d304e
Batch edit: bugs fixed on b2g18 since 1/25 branch of v1.0 are fixed on v1.0.1
The whole problem will be fixed after landing both bug 837755 and bug 836257 bugs (no extra work is needed in this bug).
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: