realm / realm-browser-osx

DEPRECATED - Realm Browser for Mac OS X has been replaced by realm-studio which is cross platform.
https://realm.io
502 stars 54 forks source link

Temporary workaround for #297 #303

Closed stel closed 7 years ago

stel commented 7 years ago

refs #297

For some reason ObjectStore fails to read a schema with dynamic API if the there is a local copy of synced realm. This issue needs more time for investigation. Because of the urgency as a temporary workaround we can specify a unique customFileURL for syncConfiguration which forces sync to create a new local copy for every realm URL. Seems to work so far.

/cc @dhmspector, @jpsim

jpsim commented 7 years ago

+ @tgoyne since it's likely that his improvements to the schema loading mechanism affected this.

stel commented 7 years ago

Found more stable way to reproduce the issue in https://github.com/realm/realm-browser-osx/pull/311.

stel commented 7 years ago

Closing this PR, see #311.