smart-scopes-proxy doesn't use cached list of remote scopes if network is not available
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
Critical
|
Unassigned | ||
unity-scopes-api (Ubuntu) |
Fix Released
|
Critical
|
Paweł Stołowski | ||
unity-scopes-api (Ubuntu RTM) |
Fix Released
|
Critical
|
Paweł Stołowski |
Bug Description
It seems that network failure is not correctly handled where it should be while fetching list of remote scopes, and we attempt to parse empty string -
smart-scopes-
[2014-12-11 14:31:16.212609] INFO: SSRegistry: SmartScopesClie
[2014-12-11 14:31:16.214007] ERROR: SSRegistry: SmartScopesClie
Syntax error: value, object or array expected.
[2014-12-11 14:31:16.214467] ERROR: SSRegistry: SSRegistryObject: get_remote_scopes() failed: unity::
Syntax error: value, object or array expected.
This causes cached remote-scopes.json to be ignored, and all remote scopes disappear from Manage Dash until network becomes available.
Steps to reproduce:
1) Make sure you see remote scopes in Manage Dash - All.
2) Enable flight mode
3) Reboot the phone
4) Watch /home/phablet/
5) Go to Manage Dash - All: NO remote scopes are listed.
Related branches
- Michi Henning (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 12 lines (+1/-1)1 file modifiedsrc/scopes/internal/smartscopes/SmartScopesClient.cpp (+1/-1)
- Pete Woods (community): Approve
-
Diff: 12 lines (+1/-1)1 file modifiedsrc/scopes/internal/smartscopes/SmartScopesClient.cpp (+1/-1)
description: | updated |
description: | updated |
Changed in unity-scopes-api (Ubuntu): | |
assignee: | nobody → Pawel Stolowski (stolowski) |
description: | updated |
Changed in unity-scopes-api (Ubuntu): | |
status: | Confirmed → In Progress |
description: | updated |
summary: |
- smart-scopes-proxy reports JSON parsing errors if network is not + smart-scopes-proxy doesn't use cached remote scopes if network is not available |
description: | updated |
description: | updated |
Changed in unity-scopes-api (Ubuntu): | |
importance: | Undecided → Critical |
summary: |
- smart-scopes-proxy doesn't use cached remote scopes if network is not - available + smart-scopes-proxy doesn't use cached list remote scopes if network is + not available |
summary: |
- smart-scopes-proxy doesn't use cached list remote scopes if network is - not available + smart-scopes-proxy doesn't use cached list of remote scopes if network + is not available |
summary: |
- smart-scopes-proxy doesn't use cached list of remote scopes if network + smart-scopes-proxy doesn't use cached list of remote scopes of network is not available |
tags: | added: rtm-14.09 |
Changed in canonical-devices-system-image: | |
importance: | Undecided → High |
milestone: | none → ww51-2014 |
status: | New → Confirmed |
Changed in canonical-devices-system-image: | |
status: | Confirmed → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.