{"action":"created","comment":{"url":"https://api.github.com/repos/plone/plone.app.contentlisting/pulls/comments/131655215","pull_request_review_id":54654457,"id":131655215,"diff_hunk":"@@ -84,7 +84,9 @@ def getSize(self):\n     def review_state(self):\n         obj = self.getObject()\n         wftool = getToolByName(obj, 'portal_workflow')\n-        return wftool.getInfoFor(obj, 'review_state')\n+        return wftool.getInfoFor(obj, 'review_state', default=None)\n+        # NOTE: Potential candidat for plone.api replacement.\n+        # return api.content.get_state(obj=obj, default=None)","path":"plone/app/contentlisting/realobject.py","position":null,"original_position":7,"commit_id":"8c5c4644c785dca3d13c2ea94283454c24de8fbe","original_commit_id":"59c90c377e5011558e475e9ee1a067633f33bf4f","user":{"login":"loechel","id":1766708,"avatar_url":"https://avatars0.githubusercontent.com/u/1766708?v=4","gravatar_id":"","url":"https://api.github.com/users/loechel","html_url":"https://github.com/loechel","followers_url":"https://api.github.com/users/loechel/followers","following_url":"https://api.github.com/users/loechel/following{/other_user}","gists_url":"https://api.github.com/users/loechel/gists{/gist_id}","starred_url":"https://api.github.com/users/loechel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loechel/subscriptions","organizations_url":"https://api.github.com/users/loechel/orgs","repos_url":"https://api.github.com/users/loechel/repos","events_url":"https://api.github.com/users/loechel/events{/privacy}","received_events_url":"https://api.github.com/users/loechel/received_events","type":"User","site_admin":false},"body":"removed.","created_at":"2017-08-07T13:33:41Z","updated_at":"2017-08-07T13:33:41Z","html_url":"https://github.com/plone/plone.app.contentlisting/pull/22#discussion_r131655215","pull_request_url":"https://api.github.com/repos/plone/plone.app.contentlisting/pulls/22","_links":{"self":{"href":"https://api.github.com/repos/plone/plone.app.contentlisting/pulls/comments/131655215"},"html":{"href":"https://github.com/plone/plone.app.contentlisting/pull/22#discussion_r131655215"},"pull_request":{"href":"https://api.github.com/repos/plone/plone.app.contentlisting/pulls/22"}}},"pull_request":{"url":"https://api.github.com/repos/plone/plone.app.contentlisting/pulls/22","id":134055075,"html_url":"https://github.com/plone/plone.app.contentlisting/pull/22","diff_url":"https://github.com/plone/plone.app.contentlisting/pull/22.diff","patch_url":"https://github.com/plone/plone.app.contentlisting/pull/22.patch","issue_url":"https://api.github.com/repos/plone/plone.app.contentlisting/issues/22","number":22,"state":"open","locked":false,"title":"fix problem on looking up a workflow state on related items","user":{"login":"loechel","id":1766708,"avatar_url":"https://avatars0.githubusercontent.com/u/1766708?v=4","gravatar_id":"","url":"https://api.github.com/users/loechel","html_url":"https://github.com/loechel","followers_url":"https://api.github.com/users/loechel/followers","following_url":"https://api.github.com/users/loechel/following{/other_user}","gists_url":"https://api.github.com/users/loechel/gists{/gist_id}","starred_url":"https://api.github.com/users/loechel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loechel/subscriptions","organizations_url":"https://api.github.com/users/loechel/orgs","repos_url":"https://api.github.com/users/loechel/repos","events_url":"https://api.github.com/users/loechel/events{/privacy}","received_events_url":"https://api.github.com/users/loechel/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-08-03T22:25:20Z","updated_at":"2017-08-07T13:33:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"17c3061614d79bb6f8ac1649cf60d2c93fa23865","assignee":null,"assignees":[],"requested_reviewers":[{"login":"gforcada","id":1155680,"avatar_url":"https://avatars1.githubusercontent.com/u/1155680?v=4","gravatar_id":"","url":"https://api.github.com/users/gforcada","html_url":"https://github.com/gforcada","followers_url":"https://api.github.com/users/gforcada/followers","following_url":"https://api.github.com/users/gforcada/following{/other_user}","gists_url":"https://api.github.com/users/gforcada/gists{/gist_id}","starred_url":"https://api.github.com/users/gforcada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gforcada/subscriptions","organizations_url":"https://api.github.com/users/gforcada/orgs","repos_url":"https://api.github.com/users/gforcada/repos","events_url":"https://api.github.com/users/gforcada/events{/privacy}","received_events_url":"https://api.github.com/users/gforcada/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/plone/plone.app.contentlisting/pulls/22/commits","review_comments_url":"https://api.github.com/repos/plone/plone.app.contentlisting/pulls/22/comments","review_comment_url":"https://api.github.com/repos/plone/plone.app.contentlisting/pulls/comments{/number}","comments_url":"https://api.github.com/repos/plone/plone.app.contentlisting/issues/22/comments","statuses_url":"https://api.github.com/repos/plone/plone.app.contentlisting/statuses/8c5c4644c785dca3d13c2ea94283454c24de8fbe","head":{"label":"plone:fix_workflow_lookup","ref":"fix_workflow_lookup","sha":"8c5c4644c785dca3d13c2ea94283454c24de8fbe","user":{"login":"plone","id":72034,"avatar_url":"https://avatars0.githubusercontent.com/u/72034?v=4","gravatar_id":"","url":"https://api.github.com/users/plone","html_url":"https://github.com/plone","followers_url":"https://api.github.com/users/plone/followers","following_url":"https://api.github.com/users/plone/following{/other_user}","gists_url":"https://api.github.com/users/plone/gists{/gist_id}","starred_url":"https://api.github.com/users/plone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plone/subscriptions","organizations_url":"https://api.github.com/users/plone/orgs","repos_url":"https://api.github.com/users/plone/repos","events_url":"https://api.github.com/users/plone/events{/privacy}","received_events_url":"https://api.github.com/users/plone/received_events","type":"Organization","site_admin":false},"repo":{"id":2479614,"name":"plone.app.contentlisting","full_name":"plone/plone.app.contentlisting","owner":{"login":"plone","id":72034,"avatar_url":"https://avatars0.githubusercontent.com/u/72034?v=4","gravatar_id":"","url":"https://api.github.com/users/plone","html_url":"https://github.com/plone","followers_url":"https://api.github.com/users/plone/followers","following_url":"https://api.github.com/users/plone/following{/other_user}","gists_url":"https://api.github.com/users/plone/gists{/gist_id}","starred_url":"https://api.github.com/users/plone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plone/subscriptions","organizations_url":"https://api.github.com/users/plone/orgs","repos_url":"https://api.github.com/users/plone/repos","events_url":"https://api.github.com/users/plone/events{/privacy}","received_events_url":"https://api.github.com/users/plone/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/plone/plone.app.contentlisting","description":"Generic way to make listings of Plone content","fork":false,"url":"https://api.github.com/repos/plone/plone.app.contentlisting","forks_url":"https://api.github.com/repos/plone/plone.app.contentlisting/forks","keys_url":"https://api.github.com/repos/plone/plone.app.contentlisting/keys{/key_id}","collaborators_url":"https://api.github.com/repos/plone/plone.app.contentlisting/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/plone/plone.app.contentlisting/teams","hooks_url":"https://api.github.com/repos/plone/plone.app.contentlisting/hooks","issue_events_url":"https://api.github.com/repos/plone/plone.app.contentlisting/issues/events{/number}","events_url":"https://api.github.com/repos/plone/plone.app.contentlisting/events","assignees_url":"https://api.github.com/repos/plone/plone.app.contentlisting/assignees{/user}","branches_url":"https://api.github.com/repos/plone/plone.app.contentlisting/branches{/branch}","tags_url":"https://api.github.com/repos/plone/plone.app.contentlisting/tags","blobs_url":"https://api.github.com/repos/plone/plone.app.contentlisting/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/plone/plone.app.contentlisting/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/plone/plone.app.contentlisting/git/refs{/sha}","trees_url":"https://api.github.com/repos/plone/plone.app.contentlisting/git/trees{/sha}","statuses_url":"https://api.github.com/repos/plone/plone.app.contentlisting/statuses/{sha}","languages_url":"https://api.github.com/repos/plone/plone.app.contentlisting/languages","stargazers_url":"https://api.github.com/repos/plone/plone.app.contentlisting/stargazers","contributors_url":"https://api.github.com/repos/plone/plone.app.contentlisting/contributors","subscribers_url":"https://api.github.com/repos/plone/plone.app.contentlisting/subscribers","subscription_url":"https://api.github.com/repos/plone/plone.app.contentlisting/subscription","commits_url":"https://api.github.com/repos/plone/plone.app.contentlisting/commits{/sha}","git_commits_url":"https://api.github.com/repos/plone/plone.app.contentlisting/git/commits{/sha}","comments_url":"https://api.github.com/repos/plone/plone.app.contentlisting/comments{/number}","issue_comment_url":"https://api.github.com/repos/plone/plone.app.contentlisting/issues/comments{/number}","contents_url":"https://api.github.com/repos/plone/plone.app.contentlisting/contents/{+path}","compare_url":"https://api.github.com/repos/plone/plone.app.contentlisting/compare/{base}...{head}","merges_url":"https://api.github.com/repos/plone/plone.app.contentlisting/merges","archive_url":"https://api.github.com/repos/plone/plone.app.contentlisting/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/plone/plone.app.contentlisting/downloads","issues_url":"https://api.github.com/repos/plone/plone.app.contentlisting/issues{/number}","pulls_url":"https://api.github.com/repos/plone/plone.app.contentlisting/pulls{/number}","milestones_url":"https://api.github.com/repos/plone/plone.app.contentlisting/milestones{/number}","notifications_url":"https://api.github.com/repos/plone/plone.app.contentlisting/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/plone/plone.app.contentlisting/labels{/name}","releases_url":"https://api.github.com/repos/plone/plone.app.contentlisting/releases{/id}","deployments_url":"https://api.github.com/repos/plone/plone.app.contentlisting/deployments","created_at":"2011-09-29T03:17:16Z","updated_at":"2016-11-07T08:57:21Z","pushed_at":"2017-08-07T13:33:32Z","git_url":"git://github.com/plone/plone.app.contentlisting.git","ssh_url":"git@github.com:plone/plone.app.contentlisting.git","clone_url":"https://github.com/plone/plone.app.contentlisting.git","svn_url":"https://github.com/plone/plone.app.contentlisting","homepage":"","size":300,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":2,"forks":5,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"plone:master","ref":"master","sha":"33c2e5499619144fcb520622931b516412edc566","user":{"login":"plone","id":72034,"avatar_url":"https://avatars0.githubusercontent.com/u/72034?v=4","gravatar_id":"","url":"https://api.github.com/users/plone","html_url":"https://github.com/plone","followers_url":"https://api.github.com/users/plone/followers","following_url":"https://api.github.com/users/plone/following{/other_user}","gists_url":"https://api.github.com/users/plone/gists{/gist_id}","starred_url":"https://api.github.com/users/plone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plone/subscriptions","organizations_url":"https://api.github.com/users/plone/orgs","repos_url":"https://api.github.com/users/plone/repos","events_url":"https://api.github.com/users/plone/events{/privacy}","received_events_url":"https://api.github.com/users/plone/received_events","type":"Organization","site_admin":false},"repo":{"id":2479614,"name":"plone.app.contentlisting","full_name":"plone/plone.app.contentlisting","owner":{"login":"plone","id":72034,"avatar_url":"https://avatars0.githubusercontent.com/u/72034?v=4","gravatar_id":"","url":"https://api.github.com/users/plone","html_url":"https://github.com/plone","followers_url":"https://api.github.com/users/plone/followers","following_url":"https://api.github.com/users/plone/following{/other_user}","gists_url":"https://api.github.com/users/plone/gists{/gist_id}","starred_url":"https://api.github.com/users/plone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plone/subscriptions","organizations_url":"https://api.github.com/users/plone/orgs","repos_url":"https://api.github.com/users/plone/repos","events_url":"https://api.github.com/users/plone/events{/privacy}","received_events_url":"https://api.github.com/users/plone/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/plone/plone.app.contentlisting","description":"Generic way to make listings of Plone content","fork":false,"url":"https://api.github.com/repos/plone/plone.app.contentlisting","forks_url":"https://api.github.com/repos/plone/plone.app.contentlisting/forks","keys_url":"https://api.github.com/repos/plone/plone.app.contentlisting/keys{/key_id}","collaborators_url":"https://api.github.com/repos/plone/plone.app.contentlisting/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/plone/plone.app.contentlisting/teams","hooks_url":"https://api.github.com/repos/plone/plone.app.contentlisting/hooks","issue_events_url":"https://api.github.com/repos/plone/plone.app.contentlisting/issues/events{/number}","events_url":"https://api.github.com/repos/plone/plone.app.contentlisting/events","assignees_url":"https://api.github.com/repos/plone/plone.app.contentlisting/assignees{/user}","branches_url":"https://api.github.com/repos/plone/plone.app.contentlisting/branches{/branch}","tags_url":"https://api.github.com/repos/plone/plone.app.contentlisting/tags","blobs_url":"https://api.github.com/repos/plone/plone.app.contentlisting/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/plone/plone.app.contentlisting/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/plone/plone.app.contentlisting/git/refs{/sha}","trees_url":"https://api.github.com/repos/plone/plone.app.contentlisting/git/trees{/sha}","statuses_url":"https://api.github.com/repos/plone/plone.app.contentlisting/statuses/{sha}","languages_url":"https://api.github.com/repos/plone/plone.app.contentlisting/languages","stargazers_url":"https://api.github.com/repos/plone/plone.app.contentlisting/stargazers","contributors_url":"https://api.github.com/repos/plone/plone.app.contentlisting/contributors","subscribers_url":"https://api.github.com/repos/plone/plone.app.contentlisting/subscribers","subscription_url":"https://api.github.com/repos/plone/plone.app.contentlisting/subscription","commits_url":"https://api.github.com/repos/plone/plone.app.contentlisting/commits{/sha}","git_commits_url":"https://api.github.com/repos/plone/plone.app.contentlisting/git/commits{/sha}","comments_url":"https://api.github.com/repos/plone/plone.app.contentlisting/comments{/number}","issue_comment_url":"https://api.github.com/repos/plone/plone.app.contentlisting/issues/comments{/number}","contents_url":"https://api.github.com/repos/plone/plone.app.contentlisting/contents/{+path}","compare_url":"https://api.github.com/repos/plone/plone.app.contentlisting/compare/{base}...{head}","merges_url":"https://api.github.com/repos/plone/plone.app.contentlisting/merges","archive_url":"https://api.github.com/repos/plone/plone.app.contentlisting/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/plone/plone.app.contentlisting/downloads","issues_url":"https://api.github.com/repos/plone/plone.app.contentlisting/issues{/number}","pulls_url":"https://api.github.com/repos/plone/plone.app.contentlisting/pulls{/number}","milestones_url":"https://api.github.com/repos/plone/plone.app.contentlisting/milestones{/number}","notifications_url":"https://api.github.com/repos/plone/plone.app.contentlisting/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/plone/plone.app.contentlisting/labels{/name}","releases_url":"https://api.github.com/repos/plone/plone.app.contentlisting/releases{/id}","deployments_url":"https://api.github.com/repos/plone/plone.app.contentlisting/deployments","created_at":"2011-09-29T03:17:16Z","updated_at":"2016-11-07T08:57:21Z","pushed_at":"2017-08-07T13:33:32Z","git_url":"git://github.com/plone/plone.app.contentlisting.git","ssh_url":"git@github.com:plone/plone.app.contentlisting.git","clone_url":"https://github.com/plone/plone.app.contentlisting.git","svn_url":"https://github.com/plone/plone.app.contentlisting","homepage":"","size":300,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":2,"forks":5,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/plone/plone.app.contentlisting/pulls/22"},"html":{"href":"https://github.com/plone/plone.app.contentlisting/pull/22"},"issue":{"href":"https://api.github.com/repos/plone/plone.app.contentlisting/issues/22"},"comments":{"href":"https://api.github.com/repos/plone/plone.app.contentlisting/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/plone/plone.app.contentlisting/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/plone/plone.app.contentlisting/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/plone/plone.app.contentlisting/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/plone/plone.app.contentlisting/statuses/8c5c4644c785dca3d13c2ea94283454c24de8fbe"}}}}
{"actor":{"display_login":"loechel"}}