[openstreetmap/openstreetmap-website] Suppress XML parsing errors. (#1336)

Andy Allan notifications at github.com
Wed Oct 26 09:43:15 UTC 2016

This technique was already used in app/models/changeset.rb

This suppresses the error messages when parsing invalid XML, but
the exceptions are still raised, as tested in test_from_xml_double_lat
in test/models/node_test.rb
You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * Suppress XML parsing errors.

-- File Changes --

    M app/controllers/changeset_controller.rb (2)
    M app/controllers/user_preference_controller.rb (2)
    M app/models/node.rb (2)
    M app/models/relation.rb (2)
    M app/models/trace.rb (2)
    M app/models/way.rb (2)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20161026/d85f0bc6/attachment.html>

More information about the rails-dev mailing list