{"action":"opened","number":81,"pull_request":{"url":"https://api.github.com/repos/plone/plone.app.content/pulls/81","id":64787139,"html_url":"https://github.com/plone/plone.app.content/pull/81","diff_url":"https://github.com/plone/plone.app.content/pull/81.diff","patch_url":"https://github.com/plone/plone.app.content/pull/81.patch","issue_url":"https://api.github.com/repos/plone/plone.app.content/issues/81","number":81,"state":"open","locked":false,"title":"Restore acquisition context in orderings","user":{"login":"pysailor","id":642660,"avatar_url":"https://avatars.githubusercontent.com/u/642660?v=3","gravatar_id":"","url":"https://api.github.com/users/pysailor","html_url":"https://github.com/pysailor","followers_url":"https://api.github.com/users/pysailor/followers","following_url":"https://api.github.com/users/pysailor/following{/other_user}","gists_url":"https://api.github.com/users/pysailor/gists{/gist_id}","starred_url":"https://api.github.com/users/pysailor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pysailor/subscriptions","organizations_url":"https://api.github.com/users/pysailor/orgs","repos_url":"https://api.github.com/users/pysailor/repos","events_url":"https://api.github.com/users/pysailor/events{/privacy}","received_events_url":"https://api.github.com/users/pysailor/received_events","type":"User","site_admin":false},"body":"In PR #66 from @Gagaro a fix was introduced to handle an issue with Archetypes in rearranging content. Thus probably by accident also the acquisition context for an `ordering` got removed (de00bd6).\r\n\r\nHowever there are use cases when this acquisition context is needed, for example in an event handler for the `IContainerModifiedEvent` (which gets sent out after a rearrange operation).\r\n\r\nThis PR keeps the defensive strategy of #66, but the actual ordering gets a proper acquisition context again.","created_at":"2016-03-31T13:09:09Z","updated_at":"2016-03-31T13:09:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/plone/plone.app.content/pulls/81/commits","review_comments_url":"https://api.github.com/repos/plone/plone.app.content/pulls/81/comments","review_comment_url":"https://api.github.com/repos/plone/plone.app.content/pulls/comments{/number}","comments_url":"https://api.github.com/repos/plone/plone.app.content/issues/81/comments","statuses_url":"https://api.github.com/repos/plone/plone.app.content/statuses/bf2241b7b01ecc5991ffe1216834941a79b8a511","head":{"label":"plone:pysailor-fix-aq-context-rearrange","ref":"pysailor-fix-aq-context-rearrange","sha":"bf2241b7b01ecc5991ffe1216834941a79b8a511","user":{"login":"plone","id":72034,"avatar_url":"https://avatars.githubusercontent.com/u/72034?v=3","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":2432536,"name":"plone.app.content","full_name":"plone/plone.app.content","owner":{"login":"plone","id":72034,"avatar_url":"https://avatars.githubusercontent.com/u/72034?v=3","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.content","description":"various views for Plone, such as folder_contents, as well as general content infrastructure, such as base classes and name choosers.","fork":false,"url":"https://api.github.com/repos/plone/plone.app.content","forks_url":"https://api.github.com/repos/plone/plone.app.content/forks","keys_url":"https://api.github.com/repos/plone/plone.app.content/keys{/key_id}","collaborators_url":"https://api.github.com/repos/plone/plone.app.content/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/plone/plone.app.content/teams","hooks_url":"https://api.github.com/repos/plone/plone.app.content/hooks","issue_events_url":"https://api.github.com/repos/plone/plone.app.content/issues/events{/number}","events_url":"https://api.github.com/repos/plone/plone.app.content/events","assignees_url":"https://api.github.com/repos/plone/plone.app.content/assignees{/user}","branches_url":"https://api.github.com/repos/plone/plone.app.content/branches{/branch}","tags_url":"https://api.github.com/repos/plone/plone.app.content/tags","blobs_url":"https://api.github.com/repos/plone/plone.app.content/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/plone/plone.app.content/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/plone/plone.app.content/git/refs{/sha}","trees_url":"https://api.github.com/repos/plone/plone.app.content/git/trees{/sha}","statuses_url":"https://api.github.com/repos/plone/plone.app.content/statuses/{sha}","languages_url":"https://api.github.com/repos/plone/plone.app.content/languages","stargazers_url":"https://api.github.com/repos/plone/plone.app.content/stargazers","contributors_url":"https://api.github.com/repos/plone/plone.app.content/contributors","subscribers_url":"https://api.github.com/repos/plone/plone.app.content/subscribers","subscription_url":"https://api.github.com/repos/plone/plone.app.content/subscription","commits_url":"https://api.github.com/repos/plone/plone.app.content/commits{/sha}","git_commits_url":"https://api.github.com/repos/plone/plone.app.content/git/commits{/sha}","comments_url":"https://api.github.com/repos/plone/plone.app.content/comments{/number}","issue_comment_url":"https://api.github.com/repos/plone/plone.app.content/issues/comments{/number}","contents_url":"https://api.github.com/repos/plone/plone.app.content/contents/{+path}","compare_url":"https://api.github.com/repos/plone/plone.app.content/compare/{base}...{head}","merges_url":"https://api.github.com/repos/plone/plone.app.content/merges","archive_url":"https://api.github.com/repos/plone/plone.app.content/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/plone/plone.app.content/downloads","issues_url":"https://api.github.com/repos/plone/plone.app.content/issues{/number}","pulls_url":"https://api.github.com/repos/plone/plone.app.content/pulls{/number}","milestones_url":"https://api.github.com/repos/plone/plone.app.content/milestones{/number}","notifications_url":"https://api.github.com/repos/plone/plone.app.content/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/plone/plone.app.content/labels{/name}","releases_url":"https://api.github.com/repos/plone/plone.app.content/releases{/id}","deployments_url":"https://api.github.com/repos/plone/plone.app.content/deployments","created_at":"2011-09-21T20:17:22Z","updated_at":"2015-07-07T09:44:31Z","pushed_at":"2016-03-31T13:09:09Z","git_url":"git://github.com/plone/plone.app.content.git","ssh_url":"git@github.com:plone/plone.app.content.git","clone_url":"https://github.com/plone/plone.app.content.git","svn_url":"https://github.com/plone/plone.app.content","homepage":"","size":1047,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":11,"forks":19,"open_issues":11,"watchers":3,"default_branch":"master"}},"base":{"label":"plone:master","ref":"master","sha":"abddd94b6fc7e40dd4bc2083d52d2039da79b5ce","user":{"login":"plone","id":72034,"avatar_url":"https://avatars.githubusercontent.com/u/72034?v=3","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":2432536,"name":"plone.app.content","full_name":"plone/plone.app.content","owner":{"login":"plone","id":72034,"avatar_url":"https://avatars.githubusercontent.com/u/72034?v=3","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.content","description":"various views for Plone, such as folder_contents, as well as general content infrastructure, such as base classes and name choosers.","fork":false,"url":"https://api.github.com/repos/plone/plone.app.content","forks_url":"https://api.github.com/repos/plone/plone.app.content/forks","keys_url":"https://api.github.com/repos/plone/plone.app.content/keys{/key_id}","collaborators_url":"https://api.github.com/repos/plone/plone.app.content/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/plone/plone.app.content/teams","hooks_url":"https://api.github.com/repos/plone/plone.app.content/hooks","issue_events_url":"https://api.github.com/repos/plone/plone.app.content/issues/events{/number}","events_url":"https://api.github.com/repos/plone/plone.app.content/events","assignees_url":"https://api.github.com/repos/plone/plone.app.content/assignees{/user}","branches_url":"https://api.github.com/repos/plone/plone.app.content/branches{/branch}","tags_url":"https://api.github.com/repos/plone/plone.app.content/tags","blobs_url":"https://api.github.com/repos/plone/plone.app.content/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/plone/plone.app.content/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/plone/plone.app.content/git/refs{/sha}","trees_url":"https://api.github.com/repos/plone/plone.app.content/git/trees{/sha}","statuses_url":"https://api.github.com/repos/plone/plone.app.content/statuses/{sha}","languages_url":"https://api.github.com/repos/plone/plone.app.content/languages","stargazers_url":"https://api.github.com/repos/plone/plone.app.content/stargazers","contributors_url":"https://api.github.com/repos/plone/plone.app.content/contributors","subscribers_url":"https://api.github.com/repos/plone/plone.app.content/subscribers","subscription_url":"https://api.github.com/repos/plone/plone.app.content/subscription","commits_url":"https://api.github.com/repos/plone/plone.app.content/commits{/sha}","git_commits_url":"https://api.github.com/repos/plone/plone.app.content/git/commits{/sha}","comments_url":"https://api.github.com/repos/plone/plone.app.content/comments{/number}","issue_comment_url":"https://api.github.com/repos/plone/plone.app.content/issues/comments{/number}","contents_url":"https://api.github.com/repos/plone/plone.app.content/contents/{+path}","compare_url":"https://api.github.com/repos/plone/plone.app.content/compare/{base}...{head}","merges_url":"https://api.github.com/repos/plone/plone.app.content/merges","archive_url":"https://api.github.com/repos/plone/plone.app.content/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/plone/plone.app.content/downloads","issues_url":"https://api.github.com/repos/plone/plone.app.content/issues{/number}","pulls_url":"https://api.github.com/repos/plone/plone.app.content/pulls{/number}","milestones_url":"https://api.github.com/repos/plone/plone.app.content/milestones{/number}","notifications_url":"https://api.github.com/repos/plone/plone.app.content/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/plone/plone.app.content/labels{/name}","releases_url":"https://api.github.com/repos/plone/plone.app.content/releases{/id}","deployments_url":"https://api.github.com/repos/plone/plone.app.content/deployments","created_at":"2011-09-21T20:17:22Z","updated_at":"2015-07-07T09:44:31Z","pushed_at":"2016-03-31T13:09:09Z","git_url":"git://github.com/plone/plone.app.content.git","ssh_url":"git@github.com:plone/plone.app.content.git","clone_url":"https://github.com/plone/plone.app.content.git","svn_url":"https://github.com/plone/plone.app.content","homepage":"","size":1047,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":11,"forks":19,"open_issues":11,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/plone/plone.app.content/pulls/81"},"html":{"href":"https://github.com/plone/plone.app.content/pull/81"},"issue":{"href":"https://api.github.com/repos/plone/plone.app.content/issues/81"},"comments":{"href":"https://api.github.com/repos/plone/plone.app.content/issues/81/comments"},"review_comments":{"href":"https://api.github.com/repos/plone/plone.app.content/pulls/81/comments"},"review_comment":{"href":"https://api.github.com/repos/plone/plone.app.content/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/plone/plone.app.content/pulls/81/commits"},"statuses":{"href":"https://api.github.com/repos/plone/plone.app.content/statuses/bf2241b7b01ecc5991ffe1216834941a79b8a511"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":1,"changed_files":1}}