<p>The following test message currently produces an HTTP 500 Internal Server Errror - <em>API threw unexpected NoMethodError exception: undefined method `check_consistency' for nil:NilClass</em></p>
<p>Expected result would be HTTP 404 not found</p>
<div class="highlight highlight-text-xml"><pre><?<span class="pl-ent">xml</span><span class="pl-e"> version</span>=<span class="pl-s"><span class="pl-pds">"</span>1.0<span class="pl-pds">"</span></span><span class="pl-e"> encoding</span>=<span class="pl-s"><span class="pl-pds">"</span>UTF-8<span class="pl-pds">"</span></span>?>
<<span class="pl-ent">osmChange</span> <span class="pl-e">version</span>=<span class="pl-s"><span class="pl-pds">"</span>0.6<span class="pl-pds">"</span></span> <span class="pl-e">generator</span>=<span class="pl-s"><span class="pl-pds">"</span>iD<span class="pl-pds">"</span></span>>
<<span class="pl-ent">modify</span>>
<<span class="pl-ent">node</span> <span class="pl-e">id</span>=<span class="pl-s"><span class="pl-pds">"</span>1200000000000<span class="pl-pds">"</span></span> <span class="pl-e">lon</span>=<span class="pl-s"><span class="pl-pds">"</span>-11<span class="pl-pds">"</span></span> <span class="pl-e">lat</span>=<span class="pl-s"><span class="pl-pds">"</span>-46<span class="pl-pds">"</span></span> <span class="pl-e">version</span>=<span class="pl-s"><span class="pl-pds">"</span>1<span class="pl-pds">"</span></span> <span class="pl-e">changeset</span>=<span class="pl-s"><span class="pl-pds">"</span>1216<span class="pl-pds">"</span></span>/>
</<span class="pl-ent">modify</span>>
</<span class="pl-ent">osmChange</span>></pre></div>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/1995#issuecomment-426574402">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABWnLcQC37jKqYI_5JNG4PJcUyi6m0D2ks5uhIbYgaJpZM4WsA9n">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABWnLXUtaKfuad171SQNkoyjw6Ul-vApks5uhIbYgaJpZM4WsA9n.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/openstreetmap/openstreetmap-website","title":"openstreetmap/openstreetmap-website","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/openstreetmap/openstreetmap-website"}},"updates":{"snippets":[{"icon":"PERSON","message":"@mmd-osm in #1995: The following test message currently produces an HTTP 500 Internal Server Errror - _API threw unexpected NoMethodError exception: undefined method `check_consistency' for nil:NilClass_\r\n\r\nExpected result would be HTTP 404 not found\r\n\r\n```xml\r\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\r\n\u003cosmChange version=\"0.6\" generator=\"iD\"\u003e\r\n \u003cmodify\u003e\r\n \u003cnode id=\"1200000000000\" lon=\"-11\" lat=\"-46\" version=\"1\" changeset=\"1216\"/\u003e\r\n \u003c/modify\u003e\r\n\u003c/osmChange\u003e\r\n```"}],"action":{"name":"View Pull Request","url":"https://github.com/openstreetmap/openstreetmap-website/pull/1995#issuecomment-426574402"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/1995#issuecomment-426574402",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/1995#issuecomment-426574402",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
},
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "Re: [openstreetmap/openstreetmap-website] add bulk_upload (#1995)",
"sections": [
{
"text": "",
"activityTitle": "**mmd**",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@mmd-osm",
"facts": [
]
}
],
"potentialAction": [
{
"name": "Add a comment",
"@type": "ActionCard",
"inputs": [
{
"isMultiLine": true,
"@type": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"openstreetmap/openstreetmap-website\",\n\"issueId\": 1995,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}"
}
]
},
{
"name": "Close pull request",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"PullRequestClose\",\n\"repositoryFullName\": \"openstreetmap/openstreetmap-website\",\n\"pullRequestId\": 1995\n}"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/openstreetmap/openstreetmap-website/pull/1995#issuecomment-426574402"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 380637031\n}"
}
],
"themeColor": "26292E"
}
]</script>