Weather links in today scope lead to 404 weather.com pages
Bug #1629243 reported by
Andrea Bernabei
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Today Scope |
Opinion
|
Undecided
|
Unassigned | ||
Ubuntu Rest Scopes |
In Progress
|
High
|
Kyle Nitzsche |
Bug Description
Krillin, rc-proposed/
How to reproduce:
1) open today scope
2) tap on Today's card (not the category) to open the preview page of today's weather info
3) tap on "10 day forecast" (green button)
Expected result:
The browser launches, and the 10day forecast page for the current location is shown
Actual result:
The browser launches and shows "Oh no! The page you are looking for does not exist. Go back, friend, go back!" 404 page from weather.com
Additional notes:
this works properly if you do the same from the Weather Channel scope
Related branches
lp://staging/~knitzsche/ubuntu-rest-scopes/fix-10-day-forecast-url
Ready for review
for merging
into
lp://staging/ubuntu-rest-scopes
- Kyle Nitzsche (community): Abstain
- Facundo Batista (community): Needs Fixing
-
Diff: 90 lines (+10/-10)2 files modifiedsrc/scopes/tests/test_weatherchannel.py (+5/-5)
src/scopes/weatherchannel.py (+5/-5)
description: | updated |
Changed in ubuntu-rest-scopes: | |
importance: | Undecided → High |
assignee: | nobody → Kyle Nitzsche (knitzsche) |
Changed in today-scope: | |
status: | Invalid → Opinion |
Changed in ubuntu-rest-scopes: | |
status: | Confirmed → In Progress |
To post a comment you must log in.
This worked properly after forcing a refresh of Today's scope data.
Not sure what data the card was showing...it sounds like it wasn't showing actual data, and maybe it didn't know the current location so the web request was malformed?