Closed Bug 1121388 Opened 9 years ago Closed 6 years ago

[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.

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

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

RESOLVED WONTFIX
Tracking Status
b2g-v2.2 --- affected
b2g-master --- affected

People

(Reporter: zikui.yang, Unassigned)

References

Details

Attachments

(3 files)

[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
Attached file logcat.txt
Attached video VIDEO0238_Compress.MP4
Enhancement, adding twen@mozilla.com for following up.
QA Whiteboard: [COM=Gaia::Calendar]
Attached file 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)
Interesting. It might relate to network error handling of Necko layer.
Flags: needinfo?(whsu)
Hi, Sandking,

May I have your help?
Can it be reproduced on E-mail app?
Thanks.
Flags: needinfo?(wangxin)
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: → 828264
(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)
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: