{"action":"created","comment":{"url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/pulls/comments/81326562","pull_request_review_id":2314349,"id":81326562,"diff_hunk":"@@ -22,22 +24,23 @@ public function load(ObjectManager $objectManager)\n     {\n         $this->objectManager = $objectManager;\n \n-        $objectManager->persist($this->addHistory(\"ds_3_fr\"));\n-        $objectManager->persist($this->addHistory(\"ds_3_en\"));\n-        $objectManager->persist($this->addHistory(\"node-fr\"));\n+        $objectManager->persist($this->addHistory(\"ds_3_fr\", ContentEvents::CONTENT_CREATION));\n+        $objectManager->persist($this->addHistory(\"ds_3_en\", ContentEvents::CONTENT_CREATION));\n+        $objectManager->persist($this->addHistory(\"node-fr\", NodeEvents::NODE_CREATION));\n \n         $objectManager->flush();\n     }\n \n     /**\n      * @param string $name\n      */\n-    protected function addHistory($name){\n+    protected function addHistory($name, $eventType){","path":"ModelBundle/DataFixtures/MongoDB/AddHistoryData.php","position":null,"original_position":27,"commit_id":"6d857007e1661e1e7b10b175fb64c4884a50ca87","original_commit_id":"37811dba4e51113b3bbe247cf241232f223042fa","user":{"login":"alavieille","id":11750768,"avatar_url":"https://avatars.githubusercontent.com/u/11750768?v=3","gravatar_id":"","url":"https://api.github.com/users/alavieille","html_url":"https://github.com/alavieille","followers_url":"https://api.github.com/users/alavieille/followers","following_url":"https://api.github.com/users/alavieille/following{/other_user}","gists_url":"https://api.github.com/users/alavieille/gists{/gist_id}","starred_url":"https://api.github.com/users/alavieille/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alavieille/subscriptions","organizations_url":"https://api.github.com/users/alavieille/orgs","repos_url":"https://api.github.com/users/alavieille/repos","events_url":"https://api.github.com/users/alavieille/events{/privacy}","received_events_url":"https://api.github.com/users/alavieille/received_events","type":"User","site_admin":false},"body":"php doc","created_at":"2016-09-30T12:08:28Z","updated_at":"2016-09-30T12:08:28Z","html_url":"https://github.com/open-orchestra/open-orchestra-model-bundle/pull/651#discussion_r81326562","pull_request_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/pulls/651","_links":{"self":{"href":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/pulls/comments/81326562"},"html":{"href":"https://github.com/open-orchestra/open-orchestra-model-bundle/pull/651#discussion_r81326562"},"pull_request":{"href":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/pulls/651"}}},"pull_request":{"url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/pulls/651","id":87117586,"html_url":"https://github.com/open-orchestra/open-orchestra-model-bundle/pull/651","diff_url":"https://github.com/open-orchestra/open-orchestra-model-bundle/pull/651.diff","patch_url":"https://github.com/open-orchestra/open-orchestra-model-bundle/pull/651.patch","issue_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/issues/651","number":651,"state":"open","locked":false,"title":"Add report","user":{"login":"itkg-nanne","id":6725133,"avatar_url":"https://avatars.githubusercontent.com/u/6725133?v=3","gravatar_id":"","url":"https://api.github.com/users/itkg-nanne","html_url":"https://github.com/itkg-nanne","followers_url":"https://api.github.com/users/itkg-nanne/followers","following_url":"https://api.github.com/users/itkg-nanne/following{/other_user}","gists_url":"https://api.github.com/users/itkg-nanne/gists{/gist_id}","starred_url":"https://api.github.com/users/itkg-nanne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itkg-nanne/subscriptions","organizations_url":"https://api.github.com/users/itkg-nanne/orgs","repos_url":"https://api.github.com/users/itkg-nanne/repos","events_url":"https://api.github.com/users/itkg-nanne/events{/privacy}","received_events_url":"https://api.github.com/users/itkg-nanne/received_events","type":"User","site_admin":false},"body":"[OO-FEATURE] add list of modification for dashboard on node and content\r\n[OO-DEPRECATED] ContentRepository::findByAuthorAndSiteId\r\n[OO-DEPRECATED] NodeRepository::findByAuthorAndSiteId\r\n\r\nhttps://github.com/open-orchestra/open-orchestra/pull/1037\r\nhttps://github.com/open-orchestra/open-orchestra-model-interface/pull/233\r\nhttps://github.com/open-orchestra/open-orchestra-cms-bundle/pull/1893\r\nhttps://github.com/open-orchestra/open-orchestra-model-bundle/pull/651\r\nhttps://github.com/open-orchestra/open-orchestra-mongo-libs/pull/53\r\nhttps://github.com/open-orchestra/open-orchestra-user-bundle/pull/124","created_at":"2016-09-28T13:17:04Z","updated_at":"2016-09-30T12:08:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3c479adeede357ec4e0703b83e18352aa2e31066","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/pulls/651/commits","review_comments_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/pulls/651/comments","review_comment_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/issues/651/comments","statuses_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/statuses/6d857007e1661e1e7b10b175fb64c4884a50ca87","head":{"label":"open-orchestra:addReport","ref":"addReport","sha":"6d857007e1661e1e7b10b175fb64c4884a50ca87","user":{"login":"open-orchestra","id":11756116,"avatar_url":"https://avatars.githubusercontent.com/u/11756116?v=3","gravatar_id":"","url":"https://api.github.com/users/open-orchestra","html_url":"https://github.com/open-orchestra","followers_url":"https://api.github.com/users/open-orchestra/followers","following_url":"https://api.github.com/users/open-orchestra/following{/other_user}","gists_url":"https://api.github.com/users/open-orchestra/gists{/gist_id}","starred_url":"https://api.github.com/users/open-orchestra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-orchestra/subscriptions","organizations_url":"https://api.github.com/users/open-orchestra/orgs","repos_url":"https://api.github.com/users/open-orchestra/repos","events_url":"https://api.github.com/users/open-orchestra/events{/privacy}","received_events_url":"https://api.github.com/users/open-orchestra/received_events","type":"Organization","site_admin":false},"repo":{"id":21900269,"name":"open-orchestra-model-bundle","full_name":"open-orchestra/open-orchestra-model-bundle","owner":{"login":"open-orchestra","id":11756116,"avatar_url":"https://avatars.githubusercontent.com/u/11756116?v=3","gravatar_id":"","url":"https://api.github.com/users/open-orchestra","html_url":"https://github.com/open-orchestra","followers_url":"https://api.github.com/users/open-orchestra/followers","following_url":"https://api.github.com/users/open-orchestra/following{/other_user}","gists_url":"https://api.github.com/users/open-orchestra/gists{/gist_id}","starred_url":"https://api.github.com/users/open-orchestra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-orchestra/subscriptions","organizations_url":"https://api.github.com/users/open-orchestra/orgs","repos_url":"https://api.github.com/users/open-orchestra/repos","events_url":"https://api.github.com/users/open-orchestra/events{/privacy}","received_events_url":"https://api.github.com/users/open-orchestra/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/open-orchestra/open-orchestra-model-bundle","description":"The php orchestra model bundle","fork":false,"url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle","forks_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/forks","keys_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/teams","hooks_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/hooks","issue_events_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/issues/events{/number}","events_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/events","assignees_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/assignees{/user}","branches_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/branches{/branch}","tags_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/tags","blobs_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/statuses/{sha}","languages_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/languages","stargazers_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/stargazers","contributors_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/contributors","subscribers_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/subscribers","subscription_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/subscription","commits_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/contents/{+path}","compare_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/merges","archive_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/downloads","issues_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/issues{/number}","pulls_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/pulls{/number}","milestones_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/milestones{/number}","notifications_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/labels{/name}","releases_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/releases{/id}","deployments_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/deployments","created_at":"2014-07-16T12:49:58Z","updated_at":"2016-01-12T15:56:29Z","pushed_at":"2016-09-30T10:34:22Z","git_url":"git://github.com/open-orchestra/open-orchestra-model-bundle.git","ssh_url":"git@github.com:open-orchestra/open-orchestra-model-bundle.git","clone_url":"https://github.com/open-orchestra/open-orchestra-model-bundle.git","svn_url":"https://github.com/open-orchestra/open-orchestra-model-bundle","homepage":null,"size":6370,"stargazers_count":2,"watchers_count":2,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":2,"default_branch":"master"}},"base":{"label":"open-orchestra:master","ref":"master","sha":"21c289f2a51a3a9d02985d409c12261ada483415","user":{"login":"open-orchestra","id":11756116,"avatar_url":"https://avatars.githubusercontent.com/u/11756116?v=3","gravatar_id":"","url":"https://api.github.com/users/open-orchestra","html_url":"https://github.com/open-orchestra","followers_url":"https://api.github.com/users/open-orchestra/followers","following_url":"https://api.github.com/users/open-orchestra/following{/other_user}","gists_url":"https://api.github.com/users/open-orchestra/gists{/gist_id}","starred_url":"https://api.github.com/users/open-orchestra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-orchestra/subscriptions","organizations_url":"https://api.github.com/users/open-orchestra/orgs","repos_url":"https://api.github.com/users/open-orchestra/repos","events_url":"https://api.github.com/users/open-orchestra/events{/privacy}","received_events_url":"https://api.github.com/users/open-orchestra/received_events","type":"Organization","site_admin":false},"repo":{"id":21900269,"name":"open-orchestra-model-bundle","full_name":"open-orchestra/open-orchestra-model-bundle","owner":{"login":"open-orchestra","id":11756116,"avatar_url":"https://avatars.githubusercontent.com/u/11756116?v=3","gravatar_id":"","url":"https://api.github.com/users/open-orchestra","html_url":"https://github.com/open-orchestra","followers_url":"https://api.github.com/users/open-orchestra/followers","following_url":"https://api.github.com/users/open-orchestra/following{/other_user}","gists_url":"https://api.github.com/users/open-orchestra/gists{/gist_id}","starred_url":"https://api.github.com/users/open-orchestra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-orchestra/subscriptions","organizations_url":"https://api.github.com/users/open-orchestra/orgs","repos_url":"https://api.github.com/users/open-orchestra/repos","events_url":"https://api.github.com/users/open-orchestra/events{/privacy}","received_events_url":"https://api.github.com/users/open-orchestra/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/open-orchestra/open-orchestra-model-bundle","description":"The php orchestra model bundle","fork":false,"url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle","forks_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/forks","keys_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/teams","hooks_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/hooks","issue_events_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/issues/events{/number}","events_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/events","assignees_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/assignees{/user}","branches_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/branches{/branch}","tags_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/tags","blobs_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/statuses/{sha}","languages_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/languages","stargazers_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/stargazers","contributors_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/contributors","subscribers_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/subscribers","subscription_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/subscription","commits_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/contents/{+path}","compare_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/merges","archive_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/downloads","issues_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/issues{/number}","pulls_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/pulls{/number}","milestones_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/milestones{/number}","notifications_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/labels{/name}","releases_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/releases{/id}","deployments_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/deployments","created_at":"2014-07-16T12:49:58Z","updated_at":"2016-01-12T15:56:29Z","pushed_at":"2016-09-30T10:34:22Z","git_url":"git://github.com/open-orchestra/open-orchestra-model-bundle.git","ssh_url":"git@github.com:open-orchestra/open-orchestra-model-bundle.git","clone_url":"https://github.com/open-orchestra/open-orchestra-model-bundle.git","svn_url":"https://github.com/open-orchestra/open-orchestra-model-bundle","homepage":null,"size":6370,"stargazers_count":2,"watchers_count":2,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/pulls/651"},"html":{"href":"https://github.com/open-orchestra/open-orchestra-model-bundle/pull/651"},"issue":{"href":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/issues/651"},"comments":{"href":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/issues/651/comments"},"review_comments":{"href":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/pulls/651/comments"},"review_comment":{"href":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/pulls/651/commits"},"statuses":{"href":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/statuses/6d857007e1661e1e7b10b175fb64c4884a50ca87"}}}}
{"actor":{"display_login":"alavieille"}}