[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:
https://github.com/openstreetmap/openstreetmap-website/pull/1336
-- 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 --
https://github.com/openstreetmap/openstreetmap-website/pull/1336.patch
https://github.com/openstreetmap/openstreetmap-website/pull/1336.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/1336
-------------- 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