GNOME Bugzilla – Bug 762094
If a stored route is present in maps-places.json, placeStore is not loaded completely.
Last modified: 2016-02-17 11:54:23 UTC
Search for a route, then search for a new place and favorite it. then restart maps. JS LOG: Failed to parse Maps places file, subsequent writes will overwrite the file! And latest place that is favorite after searching route is not present. Not sure if it happens with existing stored routes. (highly likely it does). I guess its because of out recent placeStore patch? [761533]
No I did not manage to reproduce this : ( Is it super-reliable for you? Does MAPS_DEBUG=1 give any more clues?
I digged into it more. problem exists but it has nothing to do with new placeStore patch (my bad). Looking into code I realized if this._numRecentRoutes < this._recentRoutesLimit is false then p remains null and later it can't be set in placeStore. https://git.gnome.org/browse/gnome-maps/tree/src/placeStore.js#n181
Created attachment 321431 [details] [review] placestore don't try to load routes if limit is reached
Review of attachment 321431 [details] [review]: Thanks! Looks good!
Review of attachment 321431 [details] [review]: pushed