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

Compacting a Realm results in an upgrade prompt in Realm Studio #3583

Closed
peachypixels opened this issue Apr 23, 2024 · 2 comments · Fixed by #3618
Closed

Compacting a Realm results in an upgrade prompt in Realm Studio #3583

peachypixels opened this issue Apr 23, 2024 · 2 comments · Fixed by #3618

Comments

@peachypixels
Copy link

What happened?

Hello!

I was running some test code yesterday and noticed something unusual. It may well be an issue with Realm Studio rather than Realm, but thought I'd post here as a start.

Basically, compacting a Realm results in Realm Studio presenting an upgrade dialog when the Realm is opened.

Repro steps

The steps to reproduce (in code) are...

  1. Create Realm

  2. Add\Write IRealmObject (two properties, 1 x string primary key, 1 x byte[])

  3. Close Realm

  4. Open Realm

  5. Delete IRealmObject

  6. Close Realm

  7. Compact Realm (using Realm.Compact)

  8. Open Realm in Realm Studio (a "Realm file needs an upgrade" dialog appears, showing In-place & Backup and Upgrade options)

If you repeat the process without step 7, the Realm will open in Realm Studio without the prompt.

Version

Realm 12.0.0, Realm Studio 15.0.0/15.0.1

What Atlas Services are you using?

Local Database only

What type of application is this?

Unity

Client OS and version

Windows 10

Code snippets

No response

Stacktrace of the exception/crash you're getting

No response

Relevant log output

No response

Copy link

sync-by-unito bot commented Apr 23, 2024

➤ PM Bot commented:

Jira ticket: RNET-1139

@markusroessler
Copy link

I think this is also caused by realm/realm-core#7747
See #3612

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

Successfully merging a pull request may close this issue.

3 participants