{"action":"created","issue":{"url":"https://api.github.com/repos/realm/realm-java/issues/1632","labels_url":"https://api.github.com/repos/realm/realm-java/issues/1632/labels{/name}","comments_url":"https://api.github.com/repos/realm/realm-java/issues/1632/comments","events_url":"https://api.github.com/repos/realm/realm-java/issues/1632/events","html_url":"https://github.com/realm/realm-java/pull/1632","id":112532326,"number":1632,"title":"fix for #1611","user":{"login":"zaki50","id":406660,"avatar_url":"https://avatars.githubusercontent.com/u/406660?v=3","gravatar_id":"","url":"https://api.github.com/users/zaki50","html_url":"https://github.com/zaki50","followers_url":"https://api.github.com/users/zaki50/followers","following_url":"https://api.github.com/users/zaki50/following{/other_user}","gists_url":"https://api.github.com/users/zaki50/gists{/gist_id}","starred_url":"https://api.github.com/users/zaki50/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zaki50/subscriptions","organizations_url":"https://api.github.com/users/zaki50/orgs","repos_url":"https://api.github.com/users/zaki50/repos","events_url":"https://api.github.com/users/zaki50/events{/privacy}","received_events_url":"https://api.github.com/users/zaki50/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/realm/realm-java/labels/Review","name":"Review","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-10-21T08:08:42Z","updated_at":"2015-10-22T09:54:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/realm/realm-java/pulls/1632","html_url":"https://github.com/realm/realm-java/pull/1632","diff_url":"https://github.com/realm/realm-java/pull/1632.diff","patch_url":"https://github.com/realm/realm-java/pull/1632.patch"},"body":"Problem:\r\n  The Proxy class of each model  holds column indices in static fields.\r\n  This works only when all Realm databases have the same column index in every column of the model class.\r\n  If Realm databases have different column index, the getter/setter of Proxy class reads/writes wrong column.\r\n\r\nSolution:\r\n  This commit introduces `ColumnInfo` object that holds column index information per Realm instance which shares the same database file.\r\n\r\nTODO:\r\n- [x] implementation\r\n- [x] changelog\r\n- [x] fix failed tests for annotation processor\r\n- [x] add test case to reproduce #1611\r\n\r\nFixes #1611\r\n"},"comment":{"url":"https://api.github.com/repos/realm/realm-java/issues/comments/150165527","html_url":"https://github.com/realm/realm-java/pull/1632#issuecomment-150165527","issue_url":"https://api.github.com/repos/realm/realm-java/issues/1632","id":150165527,"user":{"login":"zaki50","id":406660,"avatar_url":"https://avatars.githubusercontent.com/u/406660?v=3","gravatar_id":"","url":"https://api.github.com/users/zaki50","html_url":"https://github.com/zaki50","followers_url":"https://api.github.com/users/zaki50/followers","following_url":"https://api.github.com/users/zaki50/following{/other_user}","gists_url":"https://api.github.com/users/zaki50/gists{/gist_id}","starred_url":"https://api.github.com/users/zaki50/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zaki50/subscriptions","organizations_url":"https://api.github.com/users/zaki50/orgs","repos_url":"https://api.github.com/users/zaki50/repos","events_url":"https://api.github.com/users/zaki50/events{/privacy}","received_events_url":"https://api.github.com/users/zaki50/received_events","type":"User","site_admin":false},"created_at":"2015-10-22T09:54:54Z","updated_at":"2015-10-22T09:54:54Z","body":"@bmunkholm done 8803c6c"}}