Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Studio should not use Recover for client resync mode #1230

Closed
nirinchev opened this issue Nov 26, 2019 · 1 comment · Fixed by #1238
Closed

Studio should not use Recover for client resync mode #1230

nirinchev opened this issue Nov 26, 2019 · 1 comment · Fixed by #1238
Assignees

Comments

@nirinchev
Copy link
Member

nirinchev commented Nov 26, 2019

Describe the bug
Studio attempts to recover local changes when a client reset occurs. Instead it should enforce clientResyncMode: Realm.Sync.ClientResyncMode.Manual.

To Reproduce
Steps to reproduce the behavior:

  1. Create a Realm
  2. Define its schema
  3. Delete the Realm
  4. Create the Realm again
  5. Open the Realm and observe that the old schema is preserved because Studio handles the client reset transparently and recovers its pre-reset changes.

Expected behavior
Studio should not modify the server Realm

Versions:

  • OS: Mac
  • Studio Version: 3.8.3
  • Realm Object Server version: Cloud

Additional context
Add any other context about the problem here.

@kraenhansen kraenhansen self-assigned this Dec 19, 2019
@kraenhansen
Copy link
Member

kraenhansen commented Dec 19, 2019

@nirinchev do you see any reason the resync mode should not be "discard" instead of "manual"?

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants