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

When opening a ROS-synced realm, can't see new models in schema #234

Closed raudabaugh closed 7 years ago

raudabaugh commented 7 years ago

Hi,

I have just added a few model classes to my iOS app and they sync perfectly between devices. However, connecting to the Object Server and viewing the realm still displays the old schema.

Is there a way to tell Realm Browser to get the newest schema version?

I'm on Browser 2.0.1 / El Cap 10.11.6. Thank you!

stel commented 7 years ago

Please make sure that you open the correct url in Browser. Are there any errors? Can you modify data in Browser and are this changes synced with your app?

raudabaugh commented 7 years ago

Yes, all data entered in the Browser for the old models seems to sync to all devices correctly. I have not seen any errors or warnings in the server log, or the client app log.

stel commented 7 years ago

@raudabaugh thank for that info, we'll try to reproduce and fix this issue, for now try to remove ~/Library/Containers/io.realm.realmbrowser folder (this will reset everything to a default state) and restart Browser.

raudabaugh commented 7 years ago

Unfortunately I still don't see the new models after removing that folder.

stel commented 7 years ago

We've been finally able to reproduce this issue, it's fixed in #321.