<p dir="auto">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.</p>
<hr>
<h4>You can view, comment on, or merge this pull request online at:</h4>
<p> <a href='https://github.com/openstreetmap/openstreetmap-website/pull/3542'>https://github.com/openstreetmap/openstreetmap-website/pull/3542</a></p>
<h4>Commit Summary</h4>
<ul>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/3542/commits/b799ffcce1de4911354565e867979328ea367b10" class="commit-link">b799ffc</a> Fix verification fail redirect on missing report text</li>
</ul>
<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/3542/files">2 files</a>)</p>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/3542/files#diff-40c889bfec2f4677ca340d48772b56107986ba517a9cdf5b5852ee1c192f913d">app/controllers/reports_controller.rb</a>
(3)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/3542/files#diff-a88306a3d5206fba4e91b69de7a00d8983ac10c2d26d17ffcf5582dd2ce579a4">test/controllers/reports_controller_test.rb</a>
(15)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/3542.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/3542.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/3542.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/3542.diff</a></li>
</ul>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3542">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLOWFHBDKBXAQB3WGWTVIJTO3ANCNFSM5VBZLEXA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLNA5U4RSXR7ZXOA3WDVIJTO3A5CNFSM5VBZLEXKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4SIIP2ZA.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/3542</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/3542",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/3542",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>