{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/pulls/1","id":40290413,"html_url":"https://github.com/saubaer/couchbase-lite-java-core/pull/1","diff_url":"https://github.com/saubaer/couchbase-lite-java-core/pull/1.diff","patch_url":"https://github.com/saubaer/couchbase-lite-java-core/pull/1.patch","issue_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/issues/1","number":1,"state":"open","locked":false,"title":"find the right attachment based on revpos. fixes #677","user":{"login":"saubaer","id":498915,"avatar_url":"https://avatars.githubusercontent.com/u/498915?v=3","gravatar_id":"","url":"https://api.github.com/users/saubaer","html_url":"https://github.com/saubaer","followers_url":"https://api.github.com/users/saubaer/followers","following_url":"https://api.github.com/users/saubaer/following{/other_user}","gists_url":"https://api.github.com/users/saubaer/gists{/gist_id}","starred_url":"https://api.github.com/users/saubaer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saubaer/subscriptions","organizations_url":"https://api.github.com/users/saubaer/orgs","repos_url":"https://api.github.com/users/saubaer/repos","events_url":"https://api.github.com/users/saubaer/events{/privacy}","received_events_url":"https://api.github.com/users/saubaer/received_events","type":"User","site_admin":false},"body":"see issue https://github.com/couchbase/couchbase-lite-java-core/issues/677#issuecomment-122527475 for an updated description of how to reproduce the original bug.\r\n\r\n(already signed the contributors agreement)","created_at":"2015-07-18T10:37:32Z","updated_at":"2015-07-18T10:37:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/pulls/1/commits","review_comments_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/pulls/1/comments","review_comment_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/issues/1/comments","statuses_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/statuses/54f4c077bf1be262228a9fb1cb639e1468993b8d","head":{"label":"saubaer:feature/677_attachments_deleted_rev","ref":"feature/677_attachments_deleted_rev","sha":"54f4c077bf1be262228a9fb1cb639e1468993b8d","user":{"login":"saubaer","id":498915,"avatar_url":"https://avatars.githubusercontent.com/u/498915?v=3","gravatar_id":"","url":"https://api.github.com/users/saubaer","html_url":"https://github.com/saubaer","followers_url":"https://api.github.com/users/saubaer/followers","following_url":"https://api.github.com/users/saubaer/following{/other_user}","gists_url":"https://api.github.com/users/saubaer/gists{/gist_id}","starred_url":"https://api.github.com/users/saubaer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saubaer/subscriptions","organizations_url":"https://api.github.com/users/saubaer/orgs","repos_url":"https://api.github.com/users/saubaer/repos","events_url":"https://api.github.com/users/saubaer/events{/privacy}","received_events_url":"https://api.github.com/users/saubaer/received_events","type":"User","site_admin":false},"repo":{"id":39290901,"name":"couchbase-lite-java-core","full_name":"saubaer/couchbase-lite-java-core","owner":{"login":"saubaer","id":498915,"avatar_url":"https://avatars.githubusercontent.com/u/498915?v=3","gravatar_id":"","url":"https://api.github.com/users/saubaer","html_url":"https://github.com/saubaer","followers_url":"https://api.github.com/users/saubaer/followers","following_url":"https://api.github.com/users/saubaer/following{/other_user}","gists_url":"https://api.github.com/users/saubaer/gists{/gist_id}","starred_url":"https://api.github.com/users/saubaer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saubaer/subscriptions","organizations_url":"https://api.github.com/users/saubaer/orgs","repos_url":"https://api.github.com/users/saubaer/repos","events_url":"https://api.github.com/users/saubaer/events{/privacy}","received_events_url":"https://api.github.com/users/saubaer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/saubaer/couchbase-lite-java-core","description":"Couchbase Lite Java core library","fork":true,"url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core","forks_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/forks","keys_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/teams","hooks_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/hooks","issue_events_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/issues/events{/number}","events_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/events","assignees_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/assignees{/user}","branches_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/branches{/branch}","tags_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/tags","blobs_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/statuses/{sha}","languages_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/languages","stargazers_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/stargazers","contributors_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/contributors","subscribers_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/subscribers","subscription_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/subscription","commits_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/contents/{+path}","compare_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/merges","archive_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/downloads","issues_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/issues{/number}","pulls_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/pulls{/number}","milestones_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/milestones{/number}","notifications_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/labels{/name}","releases_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/releases{/id}","created_at":"2015-07-18T07:45:52Z","updated_at":"2015-07-18T07:45:52Z","pushed_at":"2015-07-18T10:30:55Z","git_url":"git://github.com/saubaer/couchbase-lite-java-core.git","ssh_url":"git@github.com:saubaer/couchbase-lite-java-core.git","clone_url":"https://github.com/saubaer/couchbase-lite-java-core.git","svn_url":"https://github.com/saubaer/couchbase-lite-java-core","homepage":"","size":11071,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"saubaer:master","ref":"master","sha":"8d6dd6c7c197c07116c81b5c199f169f7b13b8a7","user":{"login":"saubaer","id":498915,"avatar_url":"https://avatars.githubusercontent.com/u/498915?v=3","gravatar_id":"","url":"https://api.github.com/users/saubaer","html_url":"https://github.com/saubaer","followers_url":"https://api.github.com/users/saubaer/followers","following_url":"https://api.github.com/users/saubaer/following{/other_user}","gists_url":"https://api.github.com/users/saubaer/gists{/gist_id}","starred_url":"https://api.github.com/users/saubaer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saubaer/subscriptions","organizations_url":"https://api.github.com/users/saubaer/orgs","repos_url":"https://api.github.com/users/saubaer/repos","events_url":"https://api.github.com/users/saubaer/events{/privacy}","received_events_url":"https://api.github.com/users/saubaer/received_events","type":"User","site_admin":false},"repo":{"id":39290901,"name":"couchbase-lite-java-core","full_name":"saubaer/couchbase-lite-java-core","owner":{"login":"saubaer","id":498915,"avatar_url":"https://avatars.githubusercontent.com/u/498915?v=3","gravatar_id":"","url":"https://api.github.com/users/saubaer","html_url":"https://github.com/saubaer","followers_url":"https://api.github.com/users/saubaer/followers","following_url":"https://api.github.com/users/saubaer/following{/other_user}","gists_url":"https://api.github.com/users/saubaer/gists{/gist_id}","starred_url":"https://api.github.com/users/saubaer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saubaer/subscriptions","organizations_url":"https://api.github.com/users/saubaer/orgs","repos_url":"https://api.github.com/users/saubaer/repos","events_url":"https://api.github.com/users/saubaer/events{/privacy}","received_events_url":"https://api.github.com/users/saubaer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/saubaer/couchbase-lite-java-core","description":"Couchbase Lite Java core library","fork":true,"url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core","forks_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/forks","keys_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/teams","hooks_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/hooks","issue_events_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/issues/events{/number}","events_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/events","assignees_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/assignees{/user}","branches_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/branches{/branch}","tags_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/tags","blobs_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/statuses/{sha}","languages_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/languages","stargazers_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/stargazers","contributors_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/contributors","subscribers_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/subscribers","subscription_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/subscription","commits_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/contents/{+path}","compare_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/merges","archive_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/downloads","issues_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/issues{/number}","pulls_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/pulls{/number}","milestones_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/milestones{/number}","notifications_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/labels{/name}","releases_url":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/releases{/id}","created_at":"2015-07-18T07:45:52Z","updated_at":"2015-07-18T07:45:52Z","pushed_at":"2015-07-18T10:30:55Z","git_url":"git://github.com/saubaer/couchbase-lite-java-core.git","ssh_url":"git@github.com:saubaer/couchbase-lite-java-core.git","clone_url":"https://github.com/saubaer/couchbase-lite-java-core.git","svn_url":"https://github.com/saubaer/couchbase-lite-java-core","homepage":"","size":11071,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/pulls/1"},"html":{"href":"https://github.com/saubaer/couchbase-lite-java-core/pull/1"},"issue":{"href":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/issues/1"},"comments":{"href":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/saubaer/couchbase-lite-java-core/statuses/54f4c077bf1be262228a9fb1cb639e1468993b8d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":28,"deletions":7,"changed_files":2}}