[Flame][Calendar] If I refresh event of google account in calendar when device can't connect to google server, refreshing never ends and can't be stopped manually.

NEW
Unassigned

Status

Firefox OS
Gaia::Calendar
3 years ago
2 years ago

People

(Reporter: Elie, Unassigned)

Tracking

unspecified
ARM
Gonk (Firefox OS)

Firefox Tracking Flags

(b2g-v2.2 affected, b2g-master affected)

Details

Attachments

(3 attachments)

(Reporter)

Description

3 years ago
[1.Description]:
[Flame][v2.2&2.1][Calendar]When device can't connect to google server, try to refresh calendar. The refreshing never stops without any prompt and can't be stopped manually.
Attchment:VIDEO0238_Compress.MP4 and logcat.txt
Happen time:5:58

[2.Testing Steps]: 
Precondition:login Google account in Calendar
1.Connect to Wifi which can't connect to google server or not connect to internet
2.Launch Calendar
3.Tap the menu button on top left
4.Tap Refresh icon

[3.Expected Result]: 
4.If it can't connect to google server,it should pops up a  prompt to tell user what's the matter, or it should allow user to stop refreshing manually.

[4.Actual Result]: 
4.It will refresh never stop without any prompt and can't stop refreshing manual.

[5.Reproduction build]: 
Flame2.2::
Gaia-Rev        7c5b27cad370db377b18a742d3f3fdb0070e899f
Gecko-Rev       https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/748b20315f75
Build-ID        20150113162504
Version         37.0a2

Flame 2.1:
Gaia-Rev        6957ac8a322234ec99c8abb7cc18dc6a2e0176db
Gecko-Rev       https://hg.mozilla.org/releases/mozilla-b2g34_v2_1/rev/6600eba54256
Build-ID        20150113161204
Version         34.0

[6.Reproduction Frequency]: 
Always Recurrence,5/5

[7.TCID]: 
Free Test
(Reporter)

Comment 1

3 years ago
Created attachment 8548763 [details]
logcat.txt
(Reporter)

Comment 2

3 years ago
Created attachment 8548765 [details]
VIDEO0238_Compress.MP4
Enhancement, adding twen@mozilla.com for following up.
QA Whiteboard: [COM=Gaia::Calendar]

Comment 4

3 years ago
Created attachment 8571123 [details]
Fail log: logcat.txt

Hi William,
This issue still exists on latest Flame 2.2&3.0,
Please see the latest log:"logcat.txt"
Found Time: 05:06

Flame 2.2 build:
Build ID               20150301002505
Gaia Revision          77609916ca5ab721150fab2b7bc5c37f43ee3a5a
Gaia Date              2015-02-27 16:35:06
Gecko Revision         https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/27ab8aa34201
Gecko Version          37.0
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20150301.040042
Firmware Date          Sun Mar  1 04:00:53 EST 2015
Bootloader             L1TC000118D0

Flame 3.0 build:
Build ID               20150215010209
Gaia Revision          f0b93e0668ef9565bd6f050b15b4f794d59feb65
Gaia Date              2015-02-13 13:13:27
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/e0cb32a0b1aa
Gecko Version          38.0a1
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20150215.043133
Firmware Date          Sun Feb 15 04:31:43 EST 2015
Bootloader             L1TC000118D0
Flags: needinfo?(whsu)

Updated

3 years ago
status-b2g-master: --- → affected

Comment 5

3 years ago
Interesting. It might relate to network error handling of Necko layer.
Flags: needinfo?(whsu)

Comment 6

3 years ago
Hi, Sandking,

May I have your help?
Can it be reproduced on E-mail app?
Thanks.
Flags: needinfo?(wangxin)

Comment 7

3 years ago
Hi William,
This issue can not reproduce on E-mail app,
STR:
1. Login Google account in E-mail.
2. Connect to Wifi which can't connect to google server or not connect to internet
3. Launch Email again.
4. Tap the "refresh" icon in left-bottom.
**You can see after several minites, the refresh icon will stop automatically,and the E-mail can refresh successful or prompt the user "Unable to connect to servers"
Flags: needinfo?(wangxin) → needinfo?(whsu)
this is probably related to Bug 828264 since we never implemented a timeout (requires some drastic changes on the calendar structure).
See Also: → bug 828264

Comment 9

3 years ago
(In reply to SandKing from comment #7)
> Hi William,
> This issue can not reproduce on E-mail app,
> STR:
> 1. Login Google account in E-mail.
> 2. Connect to Wifi which can't connect to google server or not connect to
> internet
> 3. Launch Email again.
> 4. Tap the "refresh" icon in left-bottom.
> **You can see after several minites, the refresh icon will stop
> automatically,and the E-mail can refresh successful or prompt the user
> "Unable to connect to servers"

Good Job!
Thanks SandKing! Have a nice day!
Flags: needinfo?(whsu)
You need to log in before you can comment on or make changes to this bug.