Closed Bug 809221 Opened 12 years ago Closed 7 years ago

[Updates] Display "friendly error" when update checking requires Captive portal signin

Categories

(Firefox OS Graveyard :: Gaia::System, defect, P3)

ARM
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: tchung, Unassigned)

Details

(Whiteboard: interaction)

When force checking for updates without enabling captive portal first, there's no gaia error to tell the user they need to log in. it just says "Checking for updates..." logcat: 11-06 14:08:57.383: I/Gecko(109): *** AUS:SVC Checker:getUpdateURL - update URL: http://update.boot2gecko.org/nightly/update.xml?force=1 11-06 14:08:57.383: E/GeckoConsole(109): AUS:SVC Checker:getUpdateURL - update URL: http://update.boot2gecko.org/nightly/update.xml?force=1 11-06 14:08:57.463: I/Gecko(109): *** AUS:SVC Checker:checkForUpdates - sending request to: http://update.boot2gecko.org/nightly/update.xml?force=1 11-06 14:08:57.463: E/GeckoConsole(109): AUS:SVC Checker:checkForUpdates - sending request to: http://update.boot2gecko.org/nightly/update.xml?force=1 11-06 14:08:59.935: I/Gecko(109): *** AUS:SVC Checker:onProgress - 2449/2449 11-06 14:08:59.935: E/GeckoConsole(109): AUS:SVC Checker:onProgress - 2449/2449 11-06 14:08:59.945: I/Gecko(109): *** AUS:SVC Checker:onLoad - request completed downloading document 11-06 14:08:59.945: E/GeckoConsole(109): AUS:SVC Checker:onLoad - request completed downloading document 11-06 14:08:59.945: I/Gecko(109): *** AUS:SVC Checker:updates get - unexpected node name! 11-06 14:08:59.945: E/GeckoConsole(109): AUS:SVC Checker:updates get - unexpected node name! 11-06 14:08:59.945: I/Gecko(109): *** AUS:SVC Checker:onLoad - there was a problem checking for updates. Exception: Error: Unexpected node name, expected: updates, got: html 11-06 14:08:59.945: E/GeckoConsole(109): AUS:SVC Checker:onLoad - there was a problem checking for updates. Exception: Error: Unexpected node name, expected: updates, got: html 11-06 14:08:59.945: I/Gecko(109): *** AUS:SVC Checker:onLoad - request.status: 200 11-06 14:08:59.945: E/GeckoConsole(109): AUS:SVC Checker:onLoad - request.status: 200 11-06 14:08:59.945: I/Gecko(109): *** AUS:SVC getStatusTextFromCode - transfer error: Update XML file malformed (200), code: 200 11-06 14:08:59.945: E/GeckoConsole(109): AUS:SVC getStatusTextFromCode - transfer error: Update XML file malformed (200), code: 200 11-06 14:08:59.955: I/Gecko(109): *** AUS:SVC UpdateService:onError - error during background update: Update XML file malformed (200) 11-06 14:08:59.955: E/GeckoConsole(109): AUS:SVC UpdateService:onError - error during background update: Update XML file malformed (200) Repro: 1) install 11-5-2012 unagi daily build 2) be in a WIFI zone that requires captive portal sign in (eg. clift hotel) 3) settings > device > check for updates 4) Verify Gaia sits on "Checking for update..." dialog, when in fact the error is malformed XML Expected: - friendly error message for updates when not activiting wifi.
Component: Gaia → Gaia::System
Priority: -- → P3
Summary: [OTA Update] Display "friendly error" when update checking requires Captive portal signin → [Updates] Display "friendly error" when update checking requires Captive portal signin
Whiteboard: interaction
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.