{"action":"created","issue":{"url":"https://api.github.com/repos/conveyal/analysis-ui/issues/641","repository_url":"https://api.github.com/repos/conveyal/analysis-ui","labels_url":"https://api.github.com/repos/conveyal/analysis-ui/issues/641/labels{/name}","comments_url":"https://api.github.com/repos/conveyal/analysis-ui/issues/641/comments","events_url":"https://api.github.com/repos/conveyal/analysis-ui/issues/641/events","html_url":"https://github.com/conveyal/analysis-ui/issues/641","id":296825017,"number":641,"title":"Imported add-trip modifications fail with longer stop spacings","user":{"login":"ansoncfit","id":2173529,"avatar_url":"https://avatars3.githubusercontent.com/u/2173529?v=4","gravatar_id":"","url":"https://api.github.com/users/ansoncfit","html_url":"https://github.com/ansoncfit","followers_url":"https://api.github.com/users/ansoncfit/followers","following_url":"https://api.github.com/users/ansoncfit/following{/other_user}","gists_url":"https://api.github.com/users/ansoncfit/gists{/gist_id}","starred_url":"https://api.github.com/users/ansoncfit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansoncfit/subscriptions","organizations_url":"https://api.github.com/users/ansoncfit/orgs","repos_url":"https://api.github.com/users/ansoncfit/repos","events_url":"https://api.github.com/users/ansoncfit/events{/privacy}","received_events_url":"https://api.github.com/users/ansoncfit/received_events","type":"User","site_admin":false},"labels":[{"id":313609590,"url":"https://api.github.com/repos/conveyal/analysis-ui/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-13T17:37:49Z","updated_at":"2018-02-13T17:39:47Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Users have seen this bug in different projects, with the number of errors increasing as the stop spacing for automatically created stops increases.\r\n\r\nThis modification seems fine:\r\n![image](https://user-images.githubusercontent.com/2173529/36164439-5554a1a0-10ba-11e8-82c7-a1f65458e137.png)\r\n\r\nBut single point analyses fail, with the server returning a 400:\r\n`[{\"modificationId\":\"PT6\",\"title\":\"while applying the modification entitled 'PT6'.\",\"messages\":[\"You must provide at least two stops.\"]}]`\r\n\r\nChanging the stop spacing to 200m results in a successful single point request."},"comment":{"url":"https://api.github.com/repos/conveyal/analysis-ui/issues/comments/365344409","html_url":"https://github.com/conveyal/analysis-ui/issues/641#issuecomment-365344409","issue_url":"https://api.github.com/repos/conveyal/analysis-ui/issues/641","id":365344409,"user":{"login":"ansoncfit","id":2173529,"avatar_url":"https://avatars3.githubusercontent.com/u/2173529?v=4","gravatar_id":"","url":"https://api.github.com/users/ansoncfit","html_url":"https://github.com/ansoncfit","followers_url":"https://api.github.com/users/ansoncfit/followers","following_url":"https://api.github.com/users/ansoncfit/following{/other_user}","gists_url":"https://api.github.com/users/ansoncfit/gists{/gist_id}","starred_url":"https://api.github.com/users/ansoncfit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansoncfit/subscriptions","organizations_url":"https://api.github.com/users/ansoncfit/orgs","repos_url":"https://api.github.com/users/ansoncfit/repos","events_url":"https://api.github.com/users/ansoncfit/events{/privacy}","received_events_url":"https://api.github.com/users/ansoncfit/received_events","type":"User","site_admin":false},"created_at":"2018-02-13T17:39:47Z","updated_at":"2018-02-13T17:39:47Z","author_association":"CONTRIBUTOR","body":"The bug still occurs with manually created stops and a 500m spacing:\r\n\r\n![image](https://user-images.githubusercontent.com/2173529/36164637-f666b574-10ba-11e8-8eb1-67ac4801b081.png)\r\n"}}
{"actor":{"display_login":"ansoncfit"}}