{"action":"closed","number":2456,"pull_request":{"url":"https://api.github.com/repos/mautic/mautic/pulls/2456","id":83792079,"html_url":"https://github.com/mautic/mautic/pull/2456","diff_url":"https://github.com/mautic/mautic/pull/2456.diff","patch_url":"https://github.com/mautic/mautic/pull/2456.patch","issue_url":"https://api.github.com/repos/mautic/mautic/issues/2456","number":2456,"state":"closed","locked":false,"title":"Upgrade doctrine/data-fixtures to avoid CircularReferenceException","user":{"login":"wittwerch","id":1575445,"avatar_url":"https://avatars.githubusercontent.com/u/1575445?v=3","gravatar_id":"","url":"https://api.github.com/users/wittwerch","html_url":"https://github.com/wittwerch","followers_url":"https://api.github.com/users/wittwerch/followers","following_url":"https://api.github.com/users/wittwerch/following{/other_user}","gists_url":"https://api.github.com/users/wittwerch/gists{/gist_id}","starred_url":"https://api.github.com/users/wittwerch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wittwerch/subscriptions","organizations_url":"https://api.github.com/users/wittwerch/orgs","repos_url":"https://api.github.com/users/wittwerch/repos","events_url":"https://api.github.com/users/wittwerch/events{/privacy}","received_events_url":"https://api.github.com/users/wittwerch/received_events","type":"User","site_admin":false},"body":"[//]: # ( Please answer the following questions: )\r\n\r\n| Q  | A\r\n| --- | ---\r\n| Bug fix? | y\r\n| BC breaks? | n\r\n| Deprecations? | n\r\n\r\n#### Description:\r\nWhen you install Mautic manually without the installer and try to load the fixtures, Mautic 2.1.1 throws and exception\r\n\r\nphp app/console doctrine:fixtures:load\r\n```\r\n$ php app/console doctrine:fixtures:load --fixtures --no-interaction\r\n  > purging database\r\n\r\n  [Doctrine\\Common\\DataFixtures\\Exception\\CircularReferenceException]\r\n  Graph contains cyclic dependency. An example of this problem would be the following: Class C has class B as its dependency. Then, class B has class A has its dependency. Finally, class A has class C as its dependency.\r\n```\r\n\r\nThis problem is fixed in version 1.2.1 (https://github.com/doctrine/data-fixtures/issues/232)\r\n\r\n#### Steps to test this PR:\r\n1. Apply PR\r\n2. composer update\r\n3. php app/console doctrine:fixtures:load --fixtures --no-interaction\r\n4. Fixtures loading works as expected\r\n\r\n[//]: # ( As applicable: )\r\n#### Steps to reproduce the bug:\r\n1. php app/console doctrine:fixtures:load --fixtures --no-interaction\r\n2. The command throws a CircularReferenceException exception\r\n","created_at":"2016-09-02T12:17:40Z","updated_at":"2016-09-28T03:18:21Z","closed_at":"2016-09-28T03:18:21Z","merged_at":"2016-09-28T03:18:21Z","merge_commit_sha":"5a5f5f50090ae5ee670af716f9562cd9ab40b51f","assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/mautic/mautic/milestones/18","html_url":"https://github.com/mautic/mautic/milestones/2.2","labels_url":"https://api.github.com/repos/mautic/mautic/milestones/18/labels","id":1916160,"number":18,"title":"2.2","description":"","creator":{"login":"dongilbert","id":718028,"avatar_url":"https://avatars.githubusercontent.com/u/718028?v=3","gravatar_id":"","url":"https://api.github.com/users/dongilbert","html_url":"https://github.com/dongilbert","followers_url":"https://api.github.com/users/dongilbert/followers","following_url":"https://api.github.com/users/dongilbert/following{/other_user}","gists_url":"https://api.github.com/users/dongilbert/gists{/gist_id}","starred_url":"https://api.github.com/users/dongilbert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dongilbert/subscriptions","organizations_url":"https://api.github.com/users/dongilbert/orgs","repos_url":"https://api.github.com/users/dongilbert/repos","events_url":"https://api.github.com/users/dongilbert/events{/privacy}","received_events_url":"https://api.github.com/users/dongilbert/received_events","type":"User","site_admin":false},"open_issues":43,"closed_issues":33,"state":"open","created_at":"2016-08-01T16:16:42Z","updated_at":"2016-09-28T03:18:21Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/mautic/mautic/pulls/2456/commits","review_comments_url":"https://api.github.com/repos/mautic/mautic/pulls/2456/comments","review_comment_url":"https://api.github.com/repos/mautic/mautic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mautic/mautic/issues/2456/comments","statuses_url":"https://api.github.com/repos/mautic/mautic/statuses/4e7464e7acc0a60f812ff098ade53d03e12a3711","head":{"label":"wittwerch:upgrade-data-fixtures","ref":"upgrade-data-fixtures","sha":"4e7464e7acc0a60f812ff098ade53d03e12a3711","user":{"login":"wittwerch","id":1575445,"avatar_url":"https://avatars.githubusercontent.com/u/1575445?v=3","gravatar_id":"","url":"https://api.github.com/users/wittwerch","html_url":"https://github.com/wittwerch","followers_url":"https://api.github.com/users/wittwerch/followers","following_url":"https://api.github.com/users/wittwerch/following{/other_user}","gists_url":"https://api.github.com/users/wittwerch/gists{/gist_id}","starred_url":"https://api.github.com/users/wittwerch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wittwerch/subscriptions","organizations_url":"https://api.github.com/users/wittwerch/orgs","repos_url":"https://api.github.com/users/wittwerch/repos","events_url":"https://api.github.com/users/wittwerch/events{/privacy}","received_events_url":"https://api.github.com/users/wittwerch/received_events","type":"User","site_admin":false},"repo":{"id":53056570,"name":"mautic","full_name":"wittwerch/mautic","owner":{"login":"wittwerch","id":1575445,"avatar_url":"https://avatars.githubusercontent.com/u/1575445?v=3","gravatar_id":"","url":"https://api.github.com/users/wittwerch","html_url":"https://github.com/wittwerch","followers_url":"https://api.github.com/users/wittwerch/followers","following_url":"https://api.github.com/users/wittwerch/following{/other_user}","gists_url":"https://api.github.com/users/wittwerch/gists{/gist_id}","starred_url":"https://api.github.com/users/wittwerch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wittwerch/subscriptions","organizations_url":"https://api.github.com/users/wittwerch/orgs","repos_url":"https://api.github.com/users/wittwerch/repos","events_url":"https://api.github.com/users/wittwerch/events{/privacy}","received_events_url":"https://api.github.com/users/wittwerch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wittwerch/mautic","description":"Mautic: Open Source Marketing Automation Software.","fork":true,"url":"https://api.github.com/repos/wittwerch/mautic","forks_url":"https://api.github.com/repos/wittwerch/mautic/forks","keys_url":"https://api.github.com/repos/wittwerch/mautic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wittwerch/mautic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wittwerch/mautic/teams","hooks_url":"https://api.github.com/repos/wittwerch/mautic/hooks","issue_events_url":"https://api.github.com/repos/wittwerch/mautic/issues/events{/number}","events_url":"https://api.github.com/repos/wittwerch/mautic/events","assignees_url":"https://api.github.com/repos/wittwerch/mautic/assignees{/user}","branches_url":"https://api.github.com/repos/wittwerch/mautic/branches{/branch}","tags_url":"https://api.github.com/repos/wittwerch/mautic/tags","blobs_url":"https://api.github.com/repos/wittwerch/mautic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wittwerch/mautic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wittwerch/mautic/git/refs{/sha}","trees_url":"https://api.github.com/repos/wittwerch/mautic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wittwerch/mautic/statuses/{sha}","languages_url":"https://api.github.com/repos/wittwerch/mautic/languages","stargazers_url":"https://api.github.com/repos/wittwerch/mautic/stargazers","contributors_url":"https://api.github.com/repos/wittwerch/mautic/contributors","subscribers_url":"https://api.github.com/repos/wittwerch/mautic/subscribers","subscription_url":"https://api.github.com/repos/wittwerch/mautic/subscription","commits_url":"https://api.github.com/repos/wittwerch/mautic/commits{/sha}","git_commits_url":"https://api.github.com/repos/wittwerch/mautic/git/commits{/sha}","comments_url":"https://api.github.com/repos/wittwerch/mautic/comments{/number}","issue_comment_url":"https://api.github.com/repos/wittwerch/mautic/issues/comments{/number}","contents_url":"https://api.github.com/repos/wittwerch/mautic/contents/{+path}","compare_url":"https://api.github.com/repos/wittwerch/mautic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wittwerch/mautic/merges","archive_url":"https://api.github.com/repos/wittwerch/mautic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wittwerch/mautic/downloads","issues_url":"https://api.github.com/repos/wittwerch/mautic/issues{/number}","pulls_url":"https://api.github.com/repos/wittwerch/mautic/pulls{/number}","milestones_url":"https://api.github.com/repos/wittwerch/mautic/milestones{/number}","notifications_url":"https://api.github.com/repos/wittwerch/mautic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wittwerch/mautic/labels{/name}","releases_url":"https://api.github.com/repos/wittwerch/mautic/releases{/id}","deployments_url":"https://api.github.com/repos/wittwerch/mautic/deployments","created_at":"2016-03-03T14:30:04Z","updated_at":"2016-03-03T14:30:09Z","pushed_at":"2016-09-16T06:23:36Z","git_url":"git://github.com/wittwerch/mautic.git","ssh_url":"git@github.com:wittwerch/mautic.git","clone_url":"https://github.com/wittwerch/mautic.git","svn_url":"https://github.com/wittwerch/mautic","homepage":"https://www.mautic.org","size":56682,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"staging"}},"base":{"label":"mautic:staging","ref":"staging","sha":"818bbd292b42820b280974d0306564ba80aeada3","user":{"login":"mautic","id":5257677,"avatar_url":"https://avatars.githubusercontent.com/u/5257677?v=3","gravatar_id":"","url":"https://api.github.com/users/mautic","html_url":"https://github.com/mautic","followers_url":"https://api.github.com/users/mautic/followers","following_url":"https://api.github.com/users/mautic/following{/other_user}","gists_url":"https://api.github.com/users/mautic/gists{/gist_id}","starred_url":"https://api.github.com/users/mautic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mautic/subscriptions","organizations_url":"https://api.github.com/users/mautic/orgs","repos_url":"https://api.github.com/users/mautic/repos","events_url":"https://api.github.com/users/mautic/events{/privacy}","received_events_url":"https://api.github.com/users/mautic/received_events","type":"Organization","site_admin":false},"repo":{"id":12204147,"name":"mautic","full_name":"mautic/mautic","owner":{"login":"mautic","id":5257677,"avatar_url":"https://avatars.githubusercontent.com/u/5257677?v=3","gravatar_id":"","url":"https://api.github.com/users/mautic","html_url":"https://github.com/mautic","followers_url":"https://api.github.com/users/mautic/followers","following_url":"https://api.github.com/users/mautic/following{/other_user}","gists_url":"https://api.github.com/users/mautic/gists{/gist_id}","starred_url":"https://api.github.com/users/mautic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mautic/subscriptions","organizations_url":"https://api.github.com/users/mautic/orgs","repos_url":"https://api.github.com/users/mautic/repos","events_url":"https://api.github.com/users/mautic/events{/privacy}","received_events_url":"https://api.github.com/users/mautic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mautic/mautic","description":"Mautic: Open Source Marketing Automation Software.","fork":false,"url":"https://api.github.com/repos/mautic/mautic","forks_url":"https://api.github.com/repos/mautic/mautic/forks","keys_url":"https://api.github.com/repos/mautic/mautic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mautic/mautic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mautic/mautic/teams","hooks_url":"https://api.github.com/repos/mautic/mautic/hooks","issue_events_url":"https://api.github.com/repos/mautic/mautic/issues/events{/number}","events_url":"https://api.github.com/repos/mautic/mautic/events","assignees_url":"https://api.github.com/repos/mautic/mautic/assignees{/user}","branches_url":"https://api.github.com/repos/mautic/mautic/branches{/branch}","tags_url":"https://api.github.com/repos/mautic/mautic/tags","blobs_url":"https://api.github.com/repos/mautic/mautic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mautic/mautic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mautic/mautic/git/refs{/sha}","trees_url":"https://api.github.com/repos/mautic/mautic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mautic/mautic/statuses/{sha}","languages_url":"https://api.github.com/repos/mautic/mautic/languages","stargazers_url":"https://api.github.com/repos/mautic/mautic/stargazers","contributors_url":"https://api.github.com/repos/mautic/mautic/contributors","subscribers_url":"https://api.github.com/repos/mautic/mautic/subscribers","subscription_url":"https://api.github.com/repos/mautic/mautic/subscription","commits_url":"https://api.github.com/repos/mautic/mautic/commits{/sha}","git_commits_url":"https://api.github.com/repos/mautic/mautic/git/commits{/sha}","comments_url":"https://api.github.com/repos/mautic/mautic/comments{/number}","issue_comment_url":"https://api.github.com/repos/mautic/mautic/issues/comments{/number}","contents_url":"https://api.github.com/repos/mautic/mautic/contents/{+path}","compare_url":"https://api.github.com/repos/mautic/mautic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mautic/mautic/merges","archive_url":"https://api.github.com/repos/mautic/mautic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mautic/mautic/downloads","issues_url":"https://api.github.com/repos/mautic/mautic/issues{/number}","pulls_url":"https://api.github.com/repos/mautic/mautic/pulls{/number}","milestones_url":"https://api.github.com/repos/mautic/mautic/milestones{/number}","notifications_url":"https://api.github.com/repos/mautic/mautic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mautic/mautic/labels{/name}","releases_url":"https://api.github.com/repos/mautic/mautic/releases{/id}","deployments_url":"https://api.github.com/repos/mautic/mautic/deployments","created_at":"2013-08-19T00:36:28Z","updated_at":"2016-09-27T19:20:13Z","pushed_at":"2016-09-28T03:18:21Z","git_url":"git://github.com/mautic/mautic.git","ssh_url":"git@github.com:mautic/mautic.git","clone_url":"https://github.com/mautic/mautic.git","svn_url":"https://github.com/mautic/mautic","homepage":"https://www.mautic.org","size":62858,"stargazers_count":1035,"watchers_count":1035,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":365,"mirror_url":null,"open_issues_count":486,"forks":365,"open_issues":486,"watchers":1035,"default_branch":"staging"}},"_links":{"self":{"href":"https://api.github.com/repos/mautic/mautic/pulls/2456"},"html":{"href":"https://github.com/mautic/mautic/pull/2456"},"issue":{"href":"https://api.github.com/repos/mautic/mautic/issues/2456"},"comments":{"href":"https://api.github.com/repos/mautic/mautic/issues/2456/comments"},"review_comments":{"href":"https://api.github.com/repos/mautic/mautic/pulls/2456/comments"},"review_comment":{"href":"https://api.github.com/repos/mautic/mautic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mautic/mautic/pulls/2456/commits"},"statuses":{"href":"https://api.github.com/repos/mautic/mautic/statuses/4e7464e7acc0a60f812ff098ade53d03e12a3711"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"dongilbert","id":718028,"avatar_url":"https://avatars.githubusercontent.com/u/718028?v=3","gravatar_id":"","url":"https://api.github.com/users/dongilbert","html_url":"https://github.com/dongilbert","followers_url":"https://api.github.com/users/dongilbert/followers","following_url":"https://api.github.com/users/dongilbert/following{/other_user}","gists_url":"https://api.github.com/users/dongilbert/gists{/gist_id}","starred_url":"https://api.github.com/users/dongilbert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dongilbert/subscriptions","organizations_url":"https://api.github.com/users/dongilbert/orgs","repos_url":"https://api.github.com/users/dongilbert/repos","events_url":"https://api.github.com/users/dongilbert/events{/privacy}","received_events_url":"https://api.github.com/users/dongilbert/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":1,"additions":12,"deletions":10,"changed_files":2}}
{"actor":{"display_login":"dongilbert"}}