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

Flex Sync Realm file cannot be opened with Realm Studio #6046

Closed
devsales opened this issue Aug 8, 2023 · 4 comments
Closed

Flex Sync Realm file cannot be opened with Realm Studio #6046

devsales opened this issue Aug 8, 2023 · 4 comments
Labels
O-Community Waiting-For-Reporter Waiting for more information from the reporter before we can proceed

Comments

@devsales
Copy link

devsales commented Aug 8, 2023

I'm trying to open the Realm file after opening a flexible sync Realm. However in Realm Studio I see "History type not consistent" like this:

This is how I'm setting up the RealmProvider:

<RealmProvider
    realmRef={realmRef}
    fallback={<LoadingScreen />}
    shouldCompact={shouldCompact}
    path={`mongodb-realm/${REALM_APP_ID}/${user.id}/flex_sync.realm`}
    schema={schema}
    schemaVersion={schemaVersion}
    sync={{
      user,
      flexible: true,
      //@ts-ignore
      existingRealmFileBehavior: realmFileBehavior,
      //@ts-ignore
      newRealmFileBehavior: realmFileBehavior,
      initialSubscriptions: {...},
      clientReset: {...},
      onError: async (syncSession, syncError) => {...},
    }}
  >

Does anyone know why this is happening?

@kneth
Copy link
Contributor

kneth commented Aug 9, 2023

@devsales

I am not able to reproduce it using Realm JS v11.10.1 and Realm Studio v14.0.3. Which versions do you use?

@sync-by-unito sync-by-unito bot added the Waiting-For-Reporter Waiting for more information from the reporter before we can proceed label Aug 9, 2023
@devsales
Copy link
Author

@kneth I'm using Realm v11.8.0 and Realm Studio v14.0.3.

@github-actions github-actions bot added Needs-Attention Reporter has responded. Review comment. and removed Waiting-For-Reporter Waiting for more information from the reporter before we can proceed labels Aug 10, 2023
@kneth
Copy link
Contributor

kneth commented Aug 11, 2023

@devsales I still can't reproduce it. Do you also see it if the file has been created on Android?

@sync-by-unito sync-by-unito bot added Waiting-For-Reporter Waiting for more information from the reporter before we can proceed and removed Needs-Attention Reporter has responded. Review comment. labels Aug 11, 2023
@kneth
Copy link
Contributor

kneth commented Oct 31, 2023

I am closing the issue due to no reply back. Please create a new issue if you have new observations to share.

@kneth kneth closed this as completed Oct 31, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
O-Community Waiting-For-Reporter Waiting for more information from the reporter before we can proceed
Projects
None yet
Development

No branches or pull requests

2 participants