{"action":"created","issue":{"url":"https://api.github.com/repos/code-corps/code-corps-ember/issues/445","repository_url":"https://api.github.com/repos/code-corps/code-corps-ember","labels_url":"https://api.github.com/repos/code-corps/code-corps-ember/issues/445/labels{/name}","comments_url":"https://api.github.com/repos/code-corps/code-corps-ember/issues/445/comments","events_url":"https://api.github.com/repos/code-corps/code-corps-ember/issues/445/events","html_url":"https://github.com/code-corps/code-corps-ember/issues/445","id":177678870,"number":445,"title":"Ember is holding onto state_transition, loading start/hello instead of home","user":{"login":"rileytaylor","id":4505664,"avatar_url":"https://avatars.githubusercontent.com/u/4505664?v=3","gravatar_id":"","url":"https://api.github.com/users/rileytaylor","html_url":"https://github.com/rileytaylor","followers_url":"https://api.github.com/users/rileytaylor/followers","following_url":"https://api.github.com/users/rileytaylor/following{/other_user}","gists_url":"https://api.github.com/users/rileytaylor/gists{/gist_id}","starred_url":"https://api.github.com/users/rileytaylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rileytaylor/subscriptions","organizations_url":"https://api.github.com/users/rileytaylor/orgs","repos_url":"https://api.github.com/users/rileytaylor/repos","events_url":"https://api.github.com/users/rileytaylor/events{/privacy}","received_events_url":"https://api.github.com/users/rileytaylor/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/code-corps/code-corps-ember/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/code-corps/code-corps-ember/labels/hacktoberfest","name":"hacktoberfest","color":"b0581d"},{"url":"https://api.github.com/repos/code-corps/code-corps-ember/labels/help%20wanted","name":"help wanted","color":"159818"},{"url":"https://api.github.com/repos/code-corps/code-corps-ember/labels/high%20priority","name":"high priority","color":"b60205"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-18T21:32:25Z","updated_at":"2016-09-28T19:54:02Z","closed_at":null,"body":"# Problem\r\n\r\nNavigating to the homepage often becomes impossible since `state_transition` is being held onto and set for /start/hello. Ember is holding onto it and attempting to send it to the api, resulting in the following 422 error:\r\n\r\n{\"errors\":[{\"status\":422,\"source\":{\"pointer\":\"data/attributes/state_transition\"},\"id\":\"VALIDATION_ERROR\",\"detail\":\"invalid transition select_skills from selected_skills\"}]}`\r\n\r\nThis can be fixed by refreshing the page and hitting save, but regardless, the `state_transition` just shouldn't remain on the server. "},"comment":{"url":"https://api.github.com/repos/code-corps/code-corps-ember/issues/comments/250280712","html_url":"https://github.com/code-corps/code-corps-ember/issues/445#issuecomment-250280712","issue_url":"https://api.github.com/repos/code-corps/code-corps-ember/issues/445","id":250280712,"user":{"login":"begedin","id":1925540,"avatar_url":"https://avatars.githubusercontent.com/u/1925540?v=3","gravatar_id":"","url":"https://api.github.com/users/begedin","html_url":"https://github.com/begedin","followers_url":"https://api.github.com/users/begedin/followers","following_url":"https://api.github.com/users/begedin/following{/other_user}","gists_url":"https://api.github.com/users/begedin/gists{/gist_id}","starred_url":"https://api.github.com/users/begedin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/begedin/subscriptions","organizations_url":"https://api.github.com/users/begedin/orgs","repos_url":"https://api.github.com/users/begedin/repos","events_url":"https://api.github.com/users/begedin/events{/privacy}","received_events_url":"https://api.github.com/users/begedin/received_events","type":"User","site_admin":false},"created_at":"2016-09-28T19:54:02Z","updated_at":"2016-09-28T19:54:02Z","body":"We already have a few adapter overrides (good example is the posts adapter), which cleanup attributes and only allow certain ones to go to the server. We could do the same with state transitions. "}}
{"actor":{"display_login":"begedin"}}