[openstreetmap/openstreetmap-website] Error 500 on showing note with no comments (#2146)
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:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rails-dev