{"action":"created","issue":{"url":"https://api.github.com/repos/realm/realm-cocoa/issues/3528","repository_url":"https://api.github.com/repos/realm/realm-cocoa","labels_url":"https://api.github.com/repos/realm/realm-cocoa/issues/3528/labels{/name}","comments_url":"https://api.github.com/repos/realm/realm-cocoa/issues/3528/comments","events_url":"https://api.github.com/repos/realm/realm-cocoa/issues/3528/events","html_url":"https://github.com/realm/realm-cocoa/pull/3528","id":153112904,"number":3528,"title":"Fixed reading the schema version from read-only realms","user":{"login":"conradev","id":170649,"avatar_url":"https://avatars.githubusercontent.com/u/170649?v=3","gravatar_id":"","url":"https://api.github.com/users/conradev","html_url":"https://github.com/conradev","followers_url":"https://api.github.com/users/conradev/followers","following_url":"https://api.github.com/users/conradev/following{/other_user}","gists_url":"https://api.github.com/users/conradev/gists{/gist_id}","starred_url":"https://api.github.com/users/conradev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conradev/subscriptions","organizations_url":"https://api.github.com/users/conradev/orgs","repos_url":"https://api.github.com/users/conradev/repos","events_url":"https://api.github.com/users/conradev/events{/privacy}","received_events_url":"https://api.github.com/users/conradev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-04T20:56:38Z","updated_at":"2016-05-05T00:04:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/realm/realm-cocoa/pulls/3528","html_url":"https://github.com/realm/realm-cocoa/pull/3528","diff_url":"https://github.com/realm/realm-cocoa/pull/3528.diff","patch_url":"https://github.com/realm/realm-cocoa/pull/3528.patch"},"body":"I added a test case demonstrating the issue, and a proposed fix for the issue.\r\n\r\nLet me know if I should apply a different fix or make any changes"},"comment":{"url":"https://api.github.com/repos/realm/realm-cocoa/issues/comments/217043363","html_url":"https://github.com/realm/realm-cocoa/pull/3528#issuecomment-217043363","issue_url":"https://api.github.com/repos/realm/realm-cocoa/issues/3528","id":217043363,"user":{"login":"tgoyne","id":408944,"avatar_url":"https://avatars.githubusercontent.com/u/408944?v=3","gravatar_id":"","url":"https://api.github.com/users/tgoyne","html_url":"https://github.com/tgoyne","followers_url":"https://api.github.com/users/tgoyne/followers","following_url":"https://api.github.com/users/tgoyne/following{/other_user}","gists_url":"https://api.github.com/users/tgoyne/gists{/gist_id}","starred_url":"https://api.github.com/users/tgoyne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgoyne/subscriptions","organizations_url":"https://api.github.com/users/tgoyne/orgs","repos_url":"https://api.github.com/users/tgoyne/repos","events_url":"https://api.github.com/users/tgoyne/events{/privacy}","received_events_url":"https://api.github.com/users/tgoyne/received_events","type":"User","site_admin":false},"created_at":"2016-05-05T00:04:08Z","updated_at":"2016-05-05T00:04:08Z","body":"Unconditionally opening it in readOnly mode could result in incorrect results and/or crashes if the file is being modified by another process at the same time (or another thread, but that at least is solvable and would require doing very weird things anyway), so I think it needs to be a parameter. Maybe it should just take an RLMRealmConfiguration? Presumably if you're calling this method you're going to be creating a config object anyway, but half of the config properties aren't applicable."}}