-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Fix crash in RLMSyncConfiguration.initWithUser
error mapping when a user is disabled/deleted from MongoDB Realm
#7408
Fix crash in RLMSyncConfiguration.initWithUser
error mapping when a user is disabled/deleted from MongoDB Realm
#7408
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is probably a way to test this using the admin API– would be good to see a test for it.
Added a Test for this specific use case, deleting the user using the Admin API |
8c09181
to
7d03ab2
Compare
… user is disabled/deleted from MongoDB Realm dashboard (#7399)
7d03ab2
to
deaf01a
Compare
2bcd1fb
to
92b480c
Compare
… user is disabled/deleted from MongoDB Realm dashboard (#7399)
92b480c
to
6c2412b
Compare
6c2412b
to
2bcd1fb
Compare
…ithub.com/realm/realm-cocoa into dp/fix_error_mapping_rlmsyncconfiguration # Conflicts: # Realm/ObjectServerTests/SwiftObjectServerTests.swift
|
||
let appServerId = try RealmServer.shared.retrieveAppId(clientAppId: appId) | ||
let deleteUserEx = expectation(description: "delete-user") | ||
RealmServer.shared.removeUserForApp(appServerId, userId: app.currentUser!.id) { result in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RealmServer.shared.removeUserForApp(appServerId, userId: app.currentUser!.id) { result in | |
RealmServer.shared.removeUserForApp(appServerId, userId: user.id) { result in |
Co-authored-by: Lee Maguire <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM once changelog conflict is resolved
…/fix_error_mapping_rlmsyncconfiguration
Fix crash in
RLMSyncConfiguration.initWithUser
error mapping when a user is disabled/deleted from MongoDB Realm dashboard (#7399)