[openstreetmap/openstreetmap-website] Fix verification fail redirect on missing report text (PR #3542)

Harry Wood notifications at github.com
Wed May 4 12:19:57 UTC 2022


Fix an issue with the report verification, causing it to lose the text of a report if the user fails to fill in a category. In absence of the required field 'category' it redirects to the new report form. This redirect should retain the value of the 'details' field.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/3542

-- Commit Summary --

  * Fix verification fail redirect on missing report text

-- File Changes --

    M app/controllers/reports_controller.rb (3)
    M test/controllers/reports_controller_test.rb (15)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/3542.patch
https://github.com/openstreetmap/openstreetmap-website/pull/3542.diff

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

Message ID: <openstreetmap/openstreetmap-website/pull/3542 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20220504/46d2bc37/attachment.htm>


More information about the rails-dev mailing list