{"action":"created","comment":{"url":"https://api.github.com/repos/symphonycms/symphony-2/pulls/comments/170041311","pull_request_review_id":98666388,"id":170041311,"diff_hunk":"@@ -625,6 +627,7 @@ public function __actionNew()\n                      */\n                     Symphony::ExtensionManager()->notifyMembers('AuthorPostCreate', '/system/authors/', array(\n                         'author' => $this->_Author,\n+                        'author_id' => $author_id,","path":"symphony/content/content.systemauthors.php","position":13,"original_position":13,"commit_id":"9b411964f2d35ce12c1d12be6b9e916aaf39b0ec","original_commit_id":"9b411964f2d35ce12c1d12be6b9e916aaf39b0ec","user":{"login":"brendo","id":69268,"avatar_url":"https://avatars2.githubusercontent.com/u/69268?v=4","gravatar_id":"","url":"https://api.github.com/users/brendo","html_url":"https://github.com/brendo","followers_url":"https://api.github.com/users/brendo/followers","following_url":"https://api.github.com/users/brendo/following{/other_user}","gists_url":"https://api.github.com/users/brendo/gists{/gist_id}","starred_url":"https://api.github.com/users/brendo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendo/subscriptions","organizations_url":"https://api.github.com/users/brendo/orgs","repos_url":"https://api.github.com/users/brendo/repos","events_url":"https://api.github.com/users/brendo/events{/privacy}","received_events_url":"https://api.github.com/users/brendo/received_events","type":"User","site_admin":false},"body":"Ah consistency makes sense!","created_at":"2018-02-22T17:53:21Z","updated_at":"2018-02-22T17:53:21Z","html_url":"https://github.com/symphonycms/symphony-2/pull/2802#discussion_r170041311","pull_request_url":"https://api.github.com/repos/symphonycms/symphony-2/pulls/2802","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/symphonycms/symphony-2/pulls/comments/170041311"},"html":{"href":"https://github.com/symphonycms/symphony-2/pull/2802#discussion_r170041311"},"pull_request":{"href":"https://api.github.com/repos/symphonycms/symphony-2/pulls/2802"}},"in_reply_to_id":169982176},"pull_request":{"url":"https://api.github.com/repos/symphonycms/symphony-2/pulls/2802","id":169224626,"html_url":"https://github.com/symphonycms/symphony-2/pull/2802","diff_url":"https://github.com/symphonycms/symphony-2/pull/2802.diff","patch_url":"https://github.com/symphonycms/symphony-2/pull/2802.patch","issue_url":"https://api.github.com/repos/symphonycms/symphony-2/issues/2802","number":2802,"state":"open","locked":false,"title":"Properly set and pass the new author's id","user":{"login":"nitriques","id":771169,"avatar_url":"https://avatars1.githubusercontent.com/u/771169?v=4","gravatar_id":"","url":"https://api.github.com/users/nitriques","html_url":"https://github.com/nitriques","followers_url":"https://api.github.com/users/nitriques/followers","following_url":"https://api.github.com/users/nitriques/following{/other_user}","gists_url":"https://api.github.com/users/nitriques/gists{/gist_id}","starred_url":"https://api.github.com/users/nitriques/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nitriques/subscriptions","organizations_url":"https://api.github.com/users/nitriques/orgs","repos_url":"https://api.github.com/users/nitriques/repos","events_url":"https://api.github.com/users/nitriques/events{/privacy}","received_events_url":"https://api.github.com/users/nitriques/received_events","type":"User","site_admin":false},"body":"When we commit a new author, the new id was not set on the Author\r\nobject.\r\nThis prevented delegates to run based on the new id in the PostAuthorCreate.\r\n\r\nAlso, a direct reference to the author id has been added in the context\r\nof the PostAuthorCreate delegate.","created_at":"2018-02-14T21:18:50Z","updated_at":"2018-02-22T17:53:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0a6ebe88226aa9cb77aa854f9f5aff8c9e795408","assignee":{"login":"nitriques","id":771169,"avatar_url":"https://avatars1.githubusercontent.com/u/771169?v=4","gravatar_id":"","url":"https://api.github.com/users/nitriques","html_url":"https://github.com/nitriques","followers_url":"https://api.github.com/users/nitriques/followers","following_url":"https://api.github.com/users/nitriques/following{/other_user}","gists_url":"https://api.github.com/users/nitriques/gists{/gist_id}","starred_url":"https://api.github.com/users/nitriques/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nitriques/subscriptions","organizations_url":"https://api.github.com/users/nitriques/orgs","repos_url":"https://api.github.com/users/nitriques/repos","events_url":"https://api.github.com/users/nitriques/events{/privacy}","received_events_url":"https://api.github.com/users/nitriques/received_events","type":"User","site_admin":false},"assignees":[{"login":"nitriques","id":771169,"avatar_url":"https://avatars1.githubusercontent.com/u/771169?v=4","gravatar_id":"","url":"https://api.github.com/users/nitriques","html_url":"https://github.com/nitriques","followers_url":"https://api.github.com/users/nitriques/followers","following_url":"https://api.github.com/users/nitriques/following{/other_user}","gists_url":"https://api.github.com/users/nitriques/gists{/gist_id}","starred_url":"https://api.github.com/users/nitriques/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nitriques/subscriptions","organizations_url":"https://api.github.com/users/nitriques/orgs","repos_url":"https://api.github.com/users/nitriques/repos","events_url":"https://api.github.com/users/nitriques/events{/privacy}","received_events_url":"https://api.github.com/users/nitriques/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":171251,"url":"https://api.github.com/repos/symphonycms/symphony-2/labels/1%20-%20Minor","name":"1 - Minor","color":"02e10c","default":false}],"milestone":{"url":"https://api.github.com/repos/symphonycms/symphony-2/milestones/36","html_url":"https://github.com/symphonycms/symphony-2/milestone/36","labels_url":"https://api.github.com/repos/symphonycms/symphony-2/milestones/36/labels","id":3117643,"number":36,"title":"2.7.4","description":"Hot fix release","creator":{"login":"nitriques","id":771169,"avatar_url":"https://avatars1.githubusercontent.com/u/771169?v=4","gravatar_id":"","url":"https://api.github.com/users/nitriques","html_url":"https://github.com/nitriques","followers_url":"https://api.github.com/users/nitriques/followers","following_url":"https://api.github.com/users/nitriques/following{/other_user}","gists_url":"https://api.github.com/users/nitriques/gists{/gist_id}","starred_url":"https://api.github.com/users/nitriques/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nitriques/subscriptions","organizations_url":"https://api.github.com/users/nitriques/orgs","repos_url":"https://api.github.com/users/nitriques/repos","events_url":"https://api.github.com/users/nitriques/events{/privacy}","received_events_url":"https://api.github.com/users/nitriques/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2018-02-14T21:17:58Z","updated_at":"2018-02-14T21:28:55Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/symphonycms/symphony-2/pulls/2802/commits","review_comments_url":"https://api.github.com/repos/symphonycms/symphony-2/pulls/2802/comments","review_comment_url":"https://api.github.com/repos/symphonycms/symphony-2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/symphonycms/symphony-2/issues/2802/comments","statuses_url":"https://api.github.com/repos/symphonycms/symphony-2/statuses/9b411964f2d35ce12c1d12be6b9e916aaf39b0ec","head":{"label":"DeuxHuitHuit:commit-author-id","ref":"commit-author-id","sha":"9b411964f2d35ce12c1d12be6b9e916aaf39b0ec","user":{"login":"DeuxHuitHuit","id":1457832,"avatar_url":"https://avatars2.githubusercontent.com/u/1457832?v=4","gravatar_id":"","url":"https://api.github.com/users/DeuxHuitHuit","html_url":"https://github.com/DeuxHuitHuit","followers_url":"https://api.github.com/users/DeuxHuitHuit/followers","following_url":"https://api.github.com/users/DeuxHuitHuit/following{/other_user}","gists_url":"https://api.github.com/users/DeuxHuitHuit/gists{/gist_id}","starred_url":"https://api.github.com/users/DeuxHuitHuit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeuxHuitHuit/subscriptions","organizations_url":"https://api.github.com/users/DeuxHuitHuit/orgs","repos_url":"https://api.github.com/users/DeuxHuitHuit/repos","events_url":"https://api.github.com/users/DeuxHuitHuit/events{/privacy}","received_events_url":"https://api.github.com/users/DeuxHuitHuit/received_events","type":"Organization","site_admin":false},"repo":{"id":3593219,"name":"symphonycms","full_name":"DeuxHuitHuit/symphonycms","owner":{"login":"DeuxHuitHuit","id":1457832,"avatar_url":"https://avatars2.githubusercontent.com/u/1457832?v=4","gravatar_id":"","url":"https://api.github.com/users/DeuxHuitHuit","html_url":"https://github.com/DeuxHuitHuit","followers_url":"https://api.github.com/users/DeuxHuitHuit/followers","following_url":"https://api.github.com/users/DeuxHuitHuit/following{/other_user}","gists_url":"https://api.github.com/users/DeuxHuitHuit/gists{/gist_id}","starred_url":"https://api.github.com/users/DeuxHuitHuit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeuxHuitHuit/subscriptions","organizations_url":"https://api.github.com/users/DeuxHuitHuit/orgs","repos_url":"https://api.github.com/users/DeuxHuitHuit/repos","events_url":"https://api.github.com/users/DeuxHuitHuit/events{/privacy}","received_events_url":"https://api.github.com/users/DeuxHuitHuit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DeuxHuitHuit/symphonycms","description":"This is the non-official Symphony 2 repository.","fork":true,"url":"https://api.github.com/repos/DeuxHuitHuit/symphonycms","forks_url":"https://api.github.com/repos/DeuxHuitHuit/symphonycms/forks","keys_url":"https://api.github.com/repos/DeuxHuitHuit/symphonycms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DeuxHuitHuit/symphonycms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DeuxHuitHuit/symphonycms/teams","hooks_url":"https://api.github.com/repos/DeuxHuitHuit/symphonycms/hooks","issue_events_url":"https://api.github.com/repos/DeuxHuitHuit/symphonycms/issues/events{/number}","events_url":"https://api.github.com/repos/DeuxHuitHuit/symphonycms/events","assignees_url":"https://api.github.com/repos/DeuxHuitHuit/symphonycms/assignees{/user}","branches_url":"https://api.github.com/repos/DeuxHuitHuit/symphonycms/branches{/branch}","tags_url":"https://api.github.com/repos/DeuxHuitHuit/symphonycms/tags","blobs_url":"https://api.github.com/repos/DeuxHuitHuit/symphonycms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DeuxHuitHuit/symphonycms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DeuxHuitHuit/symphonycms/git/refs{/sha}","trees_url":"https://api.github.com/repos/DeuxHuitHuit/symphonycms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DeuxHuitHuit/symphonycms/statuses/{sha}","languages_url":"https://api.github.com/repos/DeuxHuitHuit/symphonycms/languages","stargazers_url":"https://api.github.com/repos/DeuxHuitHuit/symphonycms/stargazers","contributors_url":"https://api.github.com/repos/DeuxHuitHuit/symphonycms/contributors","subscribers_url":"https://api.github.com/repos/DeuxHuitHuit/symphonycms/subscribers","subscription_url":"https://api.github.com/repos/DeuxHuitHuit/symphonycms/subscription","commits_url":"https://api.github.com/repos/DeuxHuitHuit/symphonycms/commits{/sha}","git_commits_url":"https://api.github.com/repos/DeuxHuitHuit/symphonycms/git/commits{/sha}","comments_url":"https://api.github.com/repos/DeuxHuitHuit/symphonycms/comments{/number}","issue_comment_url":"https://api.github.com/repos/DeuxHuitHuit/symphonycms/issues/comments{/number}","contents_url":"https://api.github.com/repos/DeuxHuitHuit/symphonycms/contents/{+path}","compare_url":"https://api.github.com/repos/DeuxHuitHuit/symphonycms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DeuxHuitHuit/symphonycms/merges","archive_url":"https://api.github.com/repos/DeuxHuitHuit/symphonycms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DeuxHuitHuit/symphonycms/downloads","issues_url":"https://api.github.com/repos/DeuxHuitHuit/symphonycms/issues{/number}","pulls_url":"https://api.github.com/repos/DeuxHuitHuit/symphonycms/pulls{/number}","milestones_url":"https://api.github.com/repos/DeuxHuitHuit/symphonycms/milestones{/number}","notifications_url":"https://api.github.com/repos/DeuxHuitHuit/symphonycms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DeuxHuitHuit/symphonycms/labels{/name}","releases_url":"https://api.github.com/repos/DeuxHuitHuit/symphonycms/releases{/id}","deployments_url":"https://api.github.com/repos/DeuxHuitHuit/symphonycms/deployments","created_at":"2012-03-01T15:38:35Z","updated_at":"2017-07-11T18:24:35Z","pushed_at":"2018-02-21T21:25:26Z","git_url":"git://github.com/DeuxHuitHuit/symphonycms.git","ssh_url":"git@github.com:DeuxHuitHuit/symphonycms.git","clone_url":"https://github.com/DeuxHuitHuit/symphonycms.git","svn_url":"https://github.com/DeuxHuitHuit/symphonycms","homepage":"https://www.getsymphony.com","size":14819,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":1,"watchers":1,"default_branch":"3.0.x"}},"base":{"label":"symphonycms:2.7.x","ref":"2.7.x","sha":"5f362f41254c2858ba60dae3ae906201ef8672e2","user":{"login":"symphonycms","id":334029,"avatar_url":"https://avatars1.githubusercontent.com/u/334029?v=4","gravatar_id":"","url":"https://api.github.com/users/symphonycms","html_url":"https://github.com/symphonycms","followers_url":"https://api.github.com/users/symphonycms/followers","following_url":"https://api.github.com/users/symphonycms/following{/other_user}","gists_url":"https://api.github.com/users/symphonycms/gists{/gist_id}","starred_url":"https://api.github.com/users/symphonycms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symphonycms/subscriptions","organizations_url":"https://api.github.com/users/symphonycms/orgs","repos_url":"https://api.github.com/users/symphonycms/repos","events_url":"https://api.github.com/users/symphonycms/events{/privacy}","received_events_url":"https://api.github.com/users/symphonycms/received_events","type":"Organization","site_admin":false},"repo":{"id":780341,"name":"symphony-2","full_name":"symphonycms/symphony-2","owner":{"login":"symphonycms","id":334029,"avatar_url":"https://avatars1.githubusercontent.com/u/334029?v=4","gravatar_id":"","url":"https://api.github.com/users/symphonycms","html_url":"https://github.com/symphonycms","followers_url":"https://api.github.com/users/symphonycms/followers","following_url":"https://api.github.com/users/symphonycms/following{/other_user}","gists_url":"https://api.github.com/users/symphonycms/gists{/gist_id}","starred_url":"https://api.github.com/users/symphonycms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symphonycms/subscriptions","organizations_url":"https://api.github.com/users/symphonycms/orgs","repos_url":"https://api.github.com/users/symphonycms/repos","events_url":"https://api.github.com/users/symphonycms/events{/privacy}","received_events_url":"https://api.github.com/users/symphonycms/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/symphonycms/symphony-2","description":"This is the official Symphony CMS repository.","fork":false,"url":"https://api.github.com/repos/symphonycms/symphony-2","forks_url":"https://api.github.com/repos/symphonycms/symphony-2/forks","keys_url":"https://api.github.com/repos/symphonycms/symphony-2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/symphonycms/symphony-2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/symphonycms/symphony-2/teams","hooks_url":"https://api.github.com/repos/symphonycms/symphony-2/hooks","issue_events_url":"https://api.github.com/repos/symphonycms/symphony-2/issues/events{/number}","events_url":"https://api.github.com/repos/symphonycms/symphony-2/events","assignees_url":"https://api.github.com/repos/symphonycms/symphony-2/assignees{/user}","branches_url":"https://api.github.com/repos/symphonycms/symphony-2/branches{/branch}","tags_url":"https://api.github.com/repos/symphonycms/symphony-2/tags","blobs_url":"https://api.github.com/repos/symphonycms/symphony-2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/symphonycms/symphony-2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/symphonycms/symphony-2/git/refs{/sha}","trees_url":"https://api.github.com/repos/symphonycms/symphony-2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/symphonycms/symphony-2/statuses/{sha}","languages_url":"https://api.github.com/repos/symphonycms/symphony-2/languages","stargazers_url":"https://api.github.com/repos/symphonycms/symphony-2/stargazers","contributors_url":"https://api.github.com/repos/symphonycms/symphony-2/contributors","subscribers_url":"https://api.github.com/repos/symphonycms/symphony-2/subscribers","subscription_url":"https://api.github.com/repos/symphonycms/symphony-2/subscription","commits_url":"https://api.github.com/repos/symphonycms/symphony-2/commits{/sha}","git_commits_url":"https://api.github.com/repos/symphonycms/symphony-2/git/commits{/sha}","comments_url":"https://api.github.com/repos/symphonycms/symphony-2/comments{/number}","issue_comment_url":"https://api.github.com/repos/symphonycms/symphony-2/issues/comments{/number}","contents_url":"https://api.github.com/repos/symphonycms/symphony-2/contents/{+path}","compare_url":"https://api.github.com/repos/symphonycms/symphony-2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/symphonycms/symphony-2/merges","archive_url":"https://api.github.com/repos/symphonycms/symphony-2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/symphonycms/symphony-2/downloads","issues_url":"https://api.github.com/repos/symphonycms/symphony-2/issues{/number}","pulls_url":"https://api.github.com/repos/symphonycms/symphony-2/pulls{/number}","milestones_url":"https://api.github.com/repos/symphonycms/symphony-2/milestones{/number}","notifications_url":"https://api.github.com/repos/symphonycms/symphony-2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/symphonycms/symphony-2/labels{/name}","releases_url":"https://api.github.com/repos/symphonycms/symphony-2/releases{/id}","deployments_url":"https://api.github.com/repos/symphonycms/symphony-2/deployments","created_at":"2010-07-17T11:14:07Z","updated_at":"2018-02-16T11:22:13Z","pushed_at":"2018-02-21T21:25:22Z","git_url":"git://github.com/symphonycms/symphony-2.git","ssh_url":"git@github.com:symphonycms/symphony-2.git","clone_url":"https://github.com/symphonycms/symphony-2.git","svn_url":"https://github.com/symphonycms/symphony-2","homepage":"https://www.getsymphony.com","size":16033,"stargazers_count":530,"watchers_count":530,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":204,"mirror_url":null,"archived":false,"open_issues_count":101,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":204,"open_issues":101,"watchers":530,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/symphonycms/symphony-2/pulls/2802"},"html":{"href":"https://github.com/symphonycms/symphony-2/pull/2802"},"issue":{"href":"https://api.github.com/repos/symphonycms/symphony-2/issues/2802"},"comments":{"href":"https://api.github.com/repos/symphonycms/symphony-2/issues/2802/comments"},"review_comments":{"href":"https://api.github.com/repos/symphonycms/symphony-2/pulls/2802/comments"},"review_comment":{"href":"https://api.github.com/repos/symphonycms/symphony-2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/symphonycms/symphony-2/pulls/2802/commits"},"statuses":{"href":"https://api.github.com/repos/symphonycms/symphony-2/statuses/9b411964f2d35ce12c1d12be6b9e916aaf39b0ec"}},"author_association":"OWNER"}}
{"actor":{"display_login":"brendo"}}