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/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to