[openstreetmap-website] browse pages with superfluous slash at the end doesn't load object on map (#577)

Martin Raifer notifications at github.com
Sun Dec 1 10:15:23 UTC 2013


A link like: http://www.openstreetmap.org/way/29412690/ loads the object's properties, but fails to show anything on the map and throws the following javascript exception:

    Uncaught exception: TypeError: Cannot convert 'd' to object
    Error thrown […] in <anonymous function: u.load>() in http://www.openstreetmap.org/assets/index-83063fd19f35a07bf5eebc01211993c3.js:
    var t = d.run("load", c);

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/577
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20131201/209ea4a4/attachment.html>


More information about the rails-dev mailing list