{"action":"created","issue":{"url":"https://api.github.com/repos/ProcedureKit/ProcedureKit/issues/638","repository_url":"https://api.github.com/repos/ProcedureKit/ProcedureKit","labels_url":"https://api.github.com/repos/ProcedureKit/ProcedureKit/issues/638/labels{/name}","comments_url":"https://api.github.com/repos/ProcedureKit/ProcedureKit/issues/638/comments","events_url":"https://api.github.com/repos/ProcedureKit/ProcedureKit/issues/638/events","html_url":"https://github.com/ProcedureKit/ProcedureKit/issues/638","id":194083954,"number":638,"title":"DidCancelObserver and DidFinishObserver gets Called","user":{"login":"vander2675","id":11850132,"avatar_url":"https://avatars.githubusercontent.com/u/11850132?v=3","gravatar_id":"","url":"https://api.github.com/users/vander2675","html_url":"https://github.com/vander2675","followers_url":"https://api.github.com/users/vander2675/followers","following_url":"https://api.github.com/users/vander2675/following{/other_user}","gists_url":"https://api.github.com/users/vander2675/gists{/gist_id}","starred_url":"https://api.github.com/users/vander2675/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vander2675/subscriptions","organizations_url":"https://api.github.com/users/vander2675/orgs","repos_url":"https://api.github.com/users/vander2675/repos","events_url":"https://api.github.com/users/vander2675/events{/privacy}","received_events_url":"https://api.github.com/users/vander2675/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-07T15:42:46Z","updated_at":"2016-12-08T10:50:45Z","closed_at":null,"body":"Hey,\r\nprobably I'm missing something but I cannot get my head around this. I have some nested GroupProcedures witch themselves have basic Procedures. The GroupProcedures are all setup in the init Method, as suggested in the Documentation. If one of the basic Procedures fails, it calls cancelwithError on itself and then returns from the execute Method. All GroupProcedures have an DidCancelObserver on all of their nested Procedures and cancel themselves with cancelWithError(), if one of their child Procedures get cancelled.\r\n\r\nBut the most outer GroupProcedure, has an DidCancelObserver and an DidFinishObserver. I want the DidFinishObserver only to get called when there is no cancelation on one of the inner Procedures. But at the moment both Observers get called. When I inspect the DidFinishObserver at runtime, I can even see that it has an Error. Am I missing something? \r\n\r\nI would appreciate any help!\r\nThanks\r\nPascal "},"comment":{"url":"https://api.github.com/repos/ProcedureKit/ProcedureKit/issues/comments/265711535","html_url":"https://github.com/ProcedureKit/ProcedureKit/issues/638#issuecomment-265711535","issue_url":"https://api.github.com/repos/ProcedureKit/ProcedureKit/issues/638","id":265711535,"user":{"login":"vander2675","id":11850132,"avatar_url":"https://avatars.githubusercontent.com/u/11850132?v=3","gravatar_id":"","url":"https://api.github.com/users/vander2675","html_url":"https://github.com/vander2675","followers_url":"https://api.github.com/users/vander2675/followers","following_url":"https://api.github.com/users/vander2675/following{/other_user}","gists_url":"https://api.github.com/users/vander2675/gists{/gist_id}","starred_url":"https://api.github.com/users/vander2675/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vander2675/subscriptions","organizations_url":"https://api.github.com/users/vander2675/orgs","repos_url":"https://api.github.com/users/vander2675/repos","events_url":"https://api.github.com/users/vander2675/events{/privacy}","received_events_url":"https://api.github.com/users/vander2675/received_events","type":"User","site_admin":false},"created_at":"2016-12-08T10:50:45Z","updated_at":"2016-12-08T10:50:45Z","body":"![observer](https://cloud.githubusercontent.com/assets/11850132/21005379/e3e2f26c-bd34-11e6-8594-d7dc3393cf40.png)\r\nThen I got tricked by this Graph. I thought an canceled Operation never reaches finished State."}}
{"actor":{"display_login":"vander2675"}}