{"action":"created","issue":{"url":"https://api.github.com/repos/Atlantic18/DoctrineExtensions/issues/1490","labels_url":"https://api.github.com/repos/Atlantic18/DoctrineExtensions/issues/1490/labels{/name}","comments_url":"https://api.github.com/repos/Atlantic18/DoctrineExtensions/issues/1490/comments","events_url":"https://api.github.com/repos/Atlantic18/DoctrineExtensions/issues/1490/events","html_url":"https://github.com/Atlantic18/DoctrineExtensions/pull/1490","id":122650040,"number":1490,"title":"Fix cyclical persists","user":{"login":"adrienbrault","id":611271,"avatar_url":"https://avatars.githubusercontent.com/u/611271?v=3","gravatar_id":"","url":"https://api.github.com/users/adrienbrault","html_url":"https://github.com/adrienbrault","followers_url":"https://api.github.com/users/adrienbrault/followers","following_url":"https://api.github.com/users/adrienbrault/following{/other_user}","gists_url":"https://api.github.com/users/adrienbrault/gists{/gist_id}","starred_url":"https://api.github.com/users/adrienbrault/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrienbrault/subscriptions","organizations_url":"https://api.github.com/users/adrienbrault/orgs","repos_url":"https://api.github.com/users/adrienbrault/repos","events_url":"https://api.github.com/users/adrienbrault/events{/privacy}","received_events_url":"https://api.github.com/users/adrienbrault/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-17T02:58:08Z","updated_at":"2015-12-17T17:11:53Z","closed_at":"2015-12-17T07:52:53Z","pull_request":{"url":"https://api.github.com/repos/Atlantic18/DoctrineExtensions/pulls/1490","html_url":"https://github.com/Atlantic18/DoctrineExtensions/pull/1490","diff_url":"https://github.com/Atlantic18/DoctrineExtensions/pull/1490.diff","patch_url":"https://github.com/Atlantic18/DoctrineExtensions/pull/1490.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/Atlantic18/DoctrineExtensions/issues/comments/165517592","html_url":"https://github.com/Atlantic18/DoctrineExtensions/pull/1490#issuecomment-165517592","issue_url":"https://api.github.com/repos/Atlantic18/DoctrineExtensions/issues/1490","id":165517592,"user":{"login":"adrienbrault","id":611271,"avatar_url":"https://avatars.githubusercontent.com/u/611271?v=3","gravatar_id":"","url":"https://api.github.com/users/adrienbrault","html_url":"https://github.com/adrienbrault","followers_url":"https://api.github.com/users/adrienbrault/followers","following_url":"https://api.github.com/users/adrienbrault/following{/other_user}","gists_url":"https://api.github.com/users/adrienbrault/gists{/gist_id}","starred_url":"https://api.github.com/users/adrienbrault/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrienbrault/subscriptions","organizations_url":"https://api.github.com/users/adrienbrault/orgs","repos_url":"https://api.github.com/users/adrienbrault/repos","events_url":"https://api.github.com/users/adrienbrault/events{/privacy}","received_events_url":"https://api.github.com/users/adrienbrault/received_events","type":"User","site_admin":false},"created_at":"2015-12-17T17:11:53Z","updated_at":"2015-12-17T17:11:53Z","body":"Actually, a better implementation would be to improve the check bellow to also check for `UnitOfWork::STATE_NEW` and not just `UnitOfWork::STATE_MANAGED`"}}