{"action":"created","issue":{"url":"https://api.github.com/repos/spring-projects/spring-statemachine/issues/242","repository_url":"https://api.github.com/repos/spring-projects/spring-statemachine","labels_url":"https://api.github.com/repos/spring-projects/spring-statemachine/issues/242/labels{/name}","comments_url":"https://api.github.com/repos/spring-projects/spring-statemachine/issues/242/comments","events_url":"https://api.github.com/repos/spring-projects/spring-statemachine/issues/242/events","html_url":"https://github.com/spring-projects/spring-statemachine/issues/242","id":171863549,"number":242,"title":"Restoring persisted context incorrectly resets state when inside fork","user":{"login":"slithzerikai","id":10758623,"avatar_url":"https://avatars.githubusercontent.com/u/10758623?v=3","gravatar_id":"","url":"https://api.github.com/users/slithzerikai","html_url":"https://github.com/slithzerikai","followers_url":"https://api.github.com/users/slithzerikai/followers","following_url":"https://api.github.com/users/slithzerikai/following{/other_user}","gists_url":"https://api.github.com/users/slithzerikai/gists{/gist_id}","starred_url":"https://api.github.com/users/slithzerikai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slithzerikai/subscriptions","organizations_url":"https://api.github.com/users/slithzerikai/orgs","repos_url":"https://api.github.com/users/slithzerikai/repos","events_url":"https://api.github.com/users/slithzerikai/events{/privacy}","received_events_url":"https://api.github.com/users/slithzerikai/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spring-projects/spring-statemachine/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/spring-projects/spring-statemachine/milestones/14","html_url":"https://github.com/spring-projects/spring-statemachine/milestones/1.2.0.M1","labels_url":"https://api.github.com/repos/spring-projects/spring-statemachine/milestones/14/labels","id":1919998,"number":14,"title":"1.2.0.M1","description":"","creator":{"login":"jvalkeal","id":50398,"avatar_url":"https://avatars.githubusercontent.com/u/50398?v=3","gravatar_id":"","url":"https://api.github.com/users/jvalkeal","html_url":"https://github.com/jvalkeal","followers_url":"https://api.github.com/users/jvalkeal/followers","following_url":"https://api.github.com/users/jvalkeal/following{/other_user}","gists_url":"https://api.github.com/users/jvalkeal/gists{/gist_id}","starred_url":"https://api.github.com/users/jvalkeal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvalkeal/subscriptions","organizations_url":"https://api.github.com/users/jvalkeal/orgs","repos_url":"https://api.github.com/users/jvalkeal/repos","events_url":"https://api.github.com/users/jvalkeal/events{/privacy}","received_events_url":"https://api.github.com/users/jvalkeal/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":16,"state":"open","created_at":"2016-08-03T06:38:04Z","updated_at":"2016-09-28T08:34:53Z","due_on":"2016-09-28T00:00:00Z","closed_at":null},"comments":7,"created_at":"2016-08-18T10:00:15Z","updated_at":"2016-09-28T11:49:09Z","closed_at":"2016-09-28T08:34:53Z","body":"This occurs when the state is inside a fork, if the context is persisted and then restored, the state of the machine will be reset to the initial state instead of the expected state inside the fork.\r\n\r\nThis does not occur when persist/restore is bypassed.\r\n\r\nI've attached unit test to re-create. Seems to occur on 1.2.0, 1.1.1 and 1.1.0.\r\n\r\n[spring-statemachine-bug.zip](https://github.com/spring-projects/spring-statemachine/files/424594/spring-statemachine-bug.zip)\r\n"},"comment":{"url":"https://api.github.com/repos/spring-projects/spring-statemachine/issues/comments/250144857","html_url":"https://github.com/spring-projects/spring-statemachine/issues/242#issuecomment-250144857","issue_url":"https://api.github.com/repos/spring-projects/spring-statemachine/issues/242","id":250144857,"user":{"login":"slithzerikai","id":10758623,"avatar_url":"https://avatars.githubusercontent.com/u/10758623?v=3","gravatar_id":"","url":"https://api.github.com/users/slithzerikai","html_url":"https://github.com/slithzerikai","followers_url":"https://api.github.com/users/slithzerikai/followers","following_url":"https://api.github.com/users/slithzerikai/following{/other_user}","gists_url":"https://api.github.com/users/slithzerikai/gists{/gist_id}","starred_url":"https://api.github.com/users/slithzerikai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slithzerikai/subscriptions","organizations_url":"https://api.github.com/users/slithzerikai/orgs","repos_url":"https://api.github.com/users/slithzerikai/repos","events_url":"https://api.github.com/users/slithzerikai/events{/privacy}","received_events_url":"https://api.github.com/users/slithzerikai/received_events","type":"User","site_admin":false},"created_at":"2016-09-28T11:49:09Z","updated_at":"2016-09-28T11:49:09Z","body":"Thanks for this, issue seems to be fixed using the snapshot. Please let me know when you back port it. "}}
{"actor":{"display_login":"slithzerikai"}}