Closed Bug 1113565 Opened 10 years ago Closed 10 years ago

[Loop] Wrong or confusing message trying to authenticate (MobileID WITHOUT physical SIM card), with wrong mobile date (e.g. one year before)

Categories

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

x86
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: javier.deprado, Assigned: jaoo)

References

Details

(Whiteboard: [mobile app])

Attachments

(6 files, 4 obsolete files)

Attached image 2014-11-11-12-44-19.png
STR:
1.- Set mobile Date & Time to current date right.
2.- Open Loop app and make login with valid MobileID 
3.- Logout from Loop.
3.- Change mobile date to one year before. (2013)
4.- Open loop again and try to login with MobileID again.

ACTUAL RESULT:
After entering right credentials, this message is shown (see attachment): "Sorry, due to problems on our side your account session has expired. Please try loggin in again. If the problem persists, you might need to log out from Firefox Accounts o the Setttings App."

EXPECTED RESULT:
IMHO, I think that messages relating to Firefox Accounts should not be displayed trying to login with mobileID. They could confuse to the user.
Attached image Error 401, "expired"
WebID screenshot
Attached image WebID screenshot
WetID screenshot
Assignee: nobody → josea.olivera
Not able to reproduce the issue as it is described at comment 0. Javier, could you give a try and collect some logs please? I would be super helpful to enable MobileId debugging.

user_pref("services.mobileid.loglevel", "Debug");
user_pref("services.hawk.loglevel", "Debug");
user_pref("services.hawk.log.sensitive", true);
Flags: needinfo?(javier.deprado)
I can't reproduce it anymore on FireE.
But following the same STR described above, It is still reproducing on Flame:
Flame build: flame-KK.user.v2.1.188based.B-73.Gecko-8454ca1.Gaia-5c93577
Loop versions: master/51a04dd and 1.1/d1417d1
Flags: needinfo?(javier.deprado)
Sorry, the correct Flame build version is (not 2.1): flame-KK.user.v2.0.188based.B-143.Gecko-4d85914.Gaia-31d6c94
I did my test on Flame running flame-KK.eng.v2.0.AutomationVersion.188based.B-81.Gecko-4d85914.Gaia-31d6c94 and it was working fine. :(
Attached file log_20150112.txt (obsolete) —
Attached file log_20150112_3.txt (obsolete) —
Summary: [Loop] Wrong or confusing message trying to authenticate with wrong mobile date (e.g. one year before) → [Loop] Wrong or confusing message trying to authenticate (MobileID WITHOUT physical SIM card), with wrong mobile date (e.g. one year before)
It is always happening without physical SIM card in Flame or FireE devices.
Attachment #8547665 - Attachment is obsolete: true
Attachment #8547668 - Attachment is obsolete: true
Attached image New alert screen (message changed) (obsolete) —
Attachment #8548222 - Flags: ui-review?(monica.meika)
Attached image New alert screen (message changed) (obsolete) —
Attachment #8548222 - Attachment is obsolete: true
Attachment #8548222 - Flags: ui-review?(monica.meika)
Attachment #8548236 - Flags: ui-review?(monica.meika)
Attachment #8548236 - Attachment is obsolete: true
Attachment #8548236 - Flags: ui-review?(monica.meika)
Attachment #8548240 - Flags: ui-review?(monica.meika)
Attachment #8548240 - Flags: ui-review?(monica.meika) → ui-review+
Attachment #8547506 - Flags: review?(crdlc)
Comment on attachment 8547506 [details] [review]
Pointer to Github PR https://github.com/mozilla-b2g/firefoxos-loop-client/pull/437

LGTM, thanks a lot José.
Attachment #8547506 - Flags: review?(crdlc) → review+
Landed on master branch at:

https://github.com/mozilla-b2g/firefoxos-loop-client/commit/41e034c29e13e864c0ef6f454693caef00e6ceaf

Javier, should we uplift this to 1.1 branch as well? Please, let me know.
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(javier.deprado)
Resolution: --- → FIXED
Yep. This bug should also be solved in version 1.1, and we will take it into account to do regression testing on v1.1
María Angeles, Do you think so?
Flags: needinfo?(javier.deprado) → needinfo?(oteo)
I think it's not worth it as the next planned version 1.1.1 will include this fix.

It's enough verifying that the patch works fine in master branch (next 1.1.1 version)
Flags: needinfo?(oteo)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: