[openstreetmap/openstreetmap-website] Notes throw errors if there are no visible comments (Issue #3450)

Andy Allan notifications at github.com
Wed Feb 9 18:47:24 UTC 2022


It's not possible to view a note if there are no visible comments. This can come about either:

* There's only one comment (the original) and the user is deleted (see #3398)
* There's only one comment (the original) and that comment is hidden (see #3438)

In both cases, you get errors, albeit different ones in each case. But the point remains that there's a lot of (untested) logic that assumes there's at least one note comment visible.

Related:
* #3396 
* https://github.com/gravitystorm/openstreetmap-website/issues/6

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/3450
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/3450 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20220209/cce81d9c/attachment.htm>


More information about the rails-dev mailing list