Ventusky

Error - Timisoara

Your feedback and suggestions

Hello, Well my saved city Timisoara can't be reached, opened!
Limassol from Cyprus as well!
I can't open them to see the forecast!
You have proof down below, through a screenshot!
Thanks in advance!

Timisoara
Perry
Moderator
Perry

Hello, Can you please provide url of the city you are opening?

shark0der
Premium+
shark0der

I figured out the root cause of this issue. This happened to a part of the locations I had saved as favorites.

Easy fix:
1. Clean the website's localstorage (application storage) by clicking on the settings/toggles icon from the URL near the website URL, then click "Delete data" (chrome).

Location by location fix:
1. zoom in the map onto the city
2. click NEAR the starred location
3. in the menu that opens click the city - this will load and display the sidebar correctly
4. remove it from the favorites by clicking the star at the top of the sidebar
5. refresh the page and add back as favorite

Root cause:
It seems that the website changed the url identifiers for the cities containing special characters (ș in case of Timișoara). The new urls just skip the special characters, but they invalidated the old ids which where stored in the localStorage and requested by the browser when clicking on the starred locations on the map. The request itself `/timisoara?ajax` was redirected to / which contained full page html instead of just the html for the sidebar, hence it won't be displayed properly.

Here's the object structure in the localStorage:
{
"lon": 21.23,
"lat": 45.75,
"name": "Timișoara",
"url": "timioara"
}

I suspect the website devs should implement an automatic fix and correct the urls for the favorites.

Please log in to add a post to the discussion.