[openstreetmap/openstreetmap-website] Error 500 on showing note with no comments (#2146)

Tobias Zwick notifications at github.com
Sun Feb 17 14:05:44 UTC 2019


### Observed behavior
Displaying a note with no comments yields an error 500.

### How to reproduce
Display this note: https://www.openstreetmap.org/note/940980
the note via the API: https://api.openstreetmap.org/api/0.6/notes/940980

### Expected behavior
1. The OSM Api should reject creating a note without an initial comment
2. Either all current notes with no comments are deleted from DB or displaying a note with no comment should not yield an error 500


-- 
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/2146
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190217/d1501fc3/attachment.html>


More information about the rails-dev mailing list