{"action":"created","issue":{"url":"https://api.github.com/repos/cloudant/sync-android/issues/148","labels_url":"https://api.github.com/repos/cloudant/sync-android/issues/148/labels{/name}","comments_url":"https://api.github.com/repos/cloudant/sync-android/issues/148/comments","events_url":"https://api.github.com/repos/cloudant/sync-android/issues/148/events","html_url":"https://github.com/cloudant/sync-android/pull/148","id":82398507,"number":148,"title":"Fix compaction by setting json bodies of old revisions to {}","user":{"login":"tomblench","id":6302842,"avatar_url":"https://avatars.githubusercontent.com/u/6302842?v=3","gravatar_id":"","url":"https://api.github.com/users/tomblench","html_url":"https://github.com/tomblench","followers_url":"https://api.github.com/users/tomblench/followers","following_url":"https://api.github.com/users/tomblench/following{/other_user}","gists_url":"https://api.github.com/users/tomblench/gists{/gist_id}","starred_url":"https://api.github.com/users/tomblench/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomblench/subscriptions","organizations_url":"https://api.github.com/users/tomblench/orgs","repos_url":"https://api.github.com/users/tomblench/repos","events_url":"https://api.github.com/users/tomblench/events{/privacy}","received_events_url":"https://api.github.com/users/tomblench/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-29T11:58:29Z","updated_at":"2015-05-29T13:31:07Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cloudant/sync-android/pulls/148","html_url":"https://github.com/cloudant/sync-android/pull/148","diff_url":"https://github.com/cloudant/sync-android/pull/148.diff","patch_url":"https://github.com/cloudant/sync-android/pull/148.patch"},"body":"FB ticket: 47582\r\n\r\n- What: fix compaction which was causing subsequent push replication to fail\r\n- How: by setting old json bodies to EMPTY_JSON (`{}`) instead of null, which triggered an assertion causing replication to fail\r\n- Testing: Unit test `BasicPushStrategyTest2.replicate_compactedTest`\r\n\r\nreviewer: @rhyshort \r\nreviewer: @ricellis "},"comment":{"url":"https://api.github.com/repos/cloudant/sync-android/issues/comments/106803109","html_url":"https://github.com/cloudant/sync-android/pull/148#issuecomment-106803109","issue_url":"https://api.github.com/repos/cloudant/sync-android/issues/148","id":106803109,"user":{"login":"rhyshort","id":1616727,"avatar_url":"https://avatars.githubusercontent.com/u/1616727?v=3","gravatar_id":"","url":"https://api.github.com/users/rhyshort","html_url":"https://github.com/rhyshort","followers_url":"https://api.github.com/users/rhyshort/followers","following_url":"https://api.github.com/users/rhyshort/following{/other_user}","gists_url":"https://api.github.com/users/rhyshort/gists{/gist_id}","starred_url":"https://api.github.com/users/rhyshort/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhyshort/subscriptions","organizations_url":"https://api.github.com/users/rhyshort/orgs","repos_url":"https://api.github.com/users/rhyshort/repos","events_url":"https://api.github.com/users/rhyshort/events{/privacy}","received_events_url":"https://api.github.com/users/rhyshort/received_events","type":"User","site_admin":false},"created_at":"2015-05-29T13:31:07Z","updated_at":"2015-05-29T13:31:07Z","body":"LGTM :+1: "}}