An unlimited number of locations can be added but only 18 are displayed

Bug #1524814 reported by Jean-Baptiste Lallement
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Weather App
Triaged
Medium
Unassigned

Bug Description

current build number: 189
device name: arale
channel: ubuntu-touch/rc-proposed/meizu.en

com.ubuntu.weather 3.1.182

Test Case:
1. Go to locations
2. Tap on '+'
3. Select the first city in the list (Amsterdam)
4. Repeat steps 2 and 3 with next cities in the list and add the 20 first cities (Amsterdam -> Lima)

Expected Result
The list contains the current location + 20 other location

Actual Result
After 18 locations in the list, new locations are added successfully but not displayed in the list of location.
The following is then displayed in the log of the app when a new city is added:
[...]
qml: Sent request URL: http://wxdata.weather.com/wxdata/mobile/mobagg/get.js?hours=48
qml: [London] {"date":10,"hours":12,"minutes":35,"month":11,"year":2015}
file:///usr/share/click/preinstalled/com.ubuntu.weather/3.1.182/app/ui/LocationsPage.qml:286: TypeError: Cannot read property 'metric' of undefined

Revision history for this message
Victor Thompson (vthompson) wrote :

I can reproduce this against TWC, but when I switch to OWM I can't reproduce. Perhaps this is caused by TWC rate limiting the requests sent. More investigation is needed.

Changed in ubuntu-weather-app:
status: New → Confirmed
importance: Undecided → Medium
status: Confirmed → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.