You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Studio errors out when opening a Realm with asymmetric tables.
To Reproduce
Steps to reproduce the behavior:
Create a FLX Realm using any SDK.
Add an asymmetric model.
Try to open the Realm file using Studio.
Expected behavior
Studio opens and works fine.
Screenshots
Versions:
OS: Windows
Studio Version: 14.0.3
Additional context
This is the stacktrace I get:
Error: You cannot query an asymmetric class.
at getSchemaLength (file:///C:/Program%20Files/Realm%20Studio/resources/app.asar/build/realm-browser.renderer.bundle.js:1:512748)
at file:///C:/Program%20Files/Realm%20Studio/resources/app.asar/build/realm-browser.renderer.bundle.js:1:500716
at Array.map (<anonymous>)
at ht (file:///C:/Program%20Files/Realm%20Studio/resources/app.asar/build/realm-browser.renderer.bundle.js:1:500168)
at renderWithHooks (C:\Program Files\Realm Studio\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:14803:18)
at updateFunctionComponent (C:\Program Files\Realm Studio\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:17034:20)
at beginWork (C:\Program Files\Realm Studio\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:18610:16)
at HTMLUnknownElement.callCallback (C:\Program Files\Realm Studio\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:188:14)
at HTMLUnknownElement.sentryWrapped (C:\Program Files\Realm Studio\resources\app.asar\node_modules\@sentry\browser\cjs\helpers.js:92:17)
at Object.invokeGuardedCallbackDev (C:\Program Files\Realm Studio\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:237:16)
at invokeGuardedCallback (C:\Program Files\Realm Studio\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:292:31)
at beginWork$1 (C:\Program Files\Realm Studio\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:23203:7)
at performUnitOfWork (C:\Program Files\Realm Studio\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:22157:12)
at workLoopSync (C:\Program Files\Realm Studio\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:22130:22)
at performSyncWorkOnRoot (C:\Program Files\Realm Studio\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:21756:9)
at C:\Program Files\Realm Studio\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:11089:24
at unstable_runWithPriority (C:\Program Files\Realm Studio\resources\app.asar\node_modules\scheduler\cjs\scheduler.development.js:653:12)
at runWithPriority$1 (C:\Program Files\Realm Studio\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:11039:10)
at flushSyncCallbackQueueImpl (C:\Program Files\Realm Studio\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:11084:7)
at flushSyncCallbackQueue (C:\Program Files\Realm Studio\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:11072:3)
at scheduleUpdateOnFiber (C:\Program Files\Realm Studio\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:21199:9)
at Object.enqueueSetState (C:\Program Files\Realm Studio\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:12639:5)
at Component.setState (C:\Program Files\Realm Studio\resources\app.asar\node_modules\react\cjs\react.development.js:471:16)
at zt.onRealmLoaded (file:///C:/Program%20Files/Realm%20Studio/resources/app.asar/build/realm-browser.renderer.bundle.js:1:509038)
at zt.loadRealm (file:///C:/Program%20Files/Realm%20Studio/resources/app.asar/build/754.renderer.bundle.js:1:166602)
in ht (created by wt)
in wt (created by Bt)
in div (created by Bt)
in Bt (created by zt)
in zt (created by G)
in G
in q
The text was updated successfully, but these errors were encountered:
Describe the bug
Studio errors out when opening a Realm with asymmetric tables.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Studio opens and works fine.
Screenshots
Versions:
Additional context
This is the stacktrace I get:
The text was updated successfully, but these errors were encountered: