[openstreetmap/openstreetmap-website] Render a not_found error for unavailable heatmaps (PR #6591)
Tom Hughes
notifications at github.com
Thu Dec 4 17:00:42 UTC 2025
Render a not found error if we are used for a heatmap for a user that doesn't exist or isn't visible to the requesting party instead of trying to render the view and throwing an exception.
As discussed in https://github.com/openstreetmap/openstreetmap-website/pull/6564#issuecomment-3612295106 and subsequent comment this is thought to be the root cause behind some intermittent CI failures.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/6591
-- Commit Summary --
* Render a not_found error for unavailable heatmaps
-- File Changes --
M app/controllers/users/heatmaps_controller.rb (2)
M test/controllers/users/heatmaps_controller_test.rb (70)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/6591.patch
https://github.com/openstreetmap/openstreetmap-website/pull/6591.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6591
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6591 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20251204/be49cacc/attachment.htm>
More information about the rails-dev
mailing list