[openstreetmap/openstreetmap-website] PUT /api/0.6/gpx/:id causes internal server error (#1982)

Harel M notifications at github.com
Sun Sep 9 19:55:41 UTC 2018


When sending a request with a tag that is empty the server responses with a 500 error.
I know this is not a valid request, but an error that explains what I sent wrong would help.
Here's the invalid request body:
```
<osm>
  <gpx_file id='2793086' name='2792362.gpx.gz' lat='31.5943' lon='34.6092' user='Harel M' visibility='public' pending='False' timestamp='2018-09-02T11:26:13Z'>
    <description>2792362.gpx.gz</description>
    <tag />
  </gpx_file>
</osm>
```

-- 
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/issues/1982
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20180909/0ace46e7/attachment.html>


More information about the rails-dev mailing list