Comments (7)
➤ PM Bot commented:
Jira ticket: RCOCOA-2300
from realm-swift.
Thanks for reporting this. It looks like this is indeed an oversight and should be easy to special-case to avoid throwing an error in the event we get a 404.
from realm-swift.
The error message isn't great, but otherwise this seems correct? You can't log out a user that doesn't exist, and I'm not sure why you're trying to.
from realm-swift.
@tgoyne This was actually working before, this error shows now with some newer versions if I'm not mistaken. Usually the app flow works like this: Delete>Success>Logout.
Is there a better way to achieve the deletion process of a user?
from realm-swift.
What are you expecting the Logout step after deleting the user to do? It might have previously been a silent no-op rather than reporting an error, but it never could have done anything.
from realm-swift.
Alright thnx for the Response
from realm-swift.
I'll reopen this as a reminder to check that we handle the case where we log out a deleted user without throwing an exception. That should be fairly easy to detect and would be a minor improvement in the case where a user is deleted on one device and we attempt to log them out on another.
from realm-swift.
Related Issues (20)
- Doesn't Map value type work at all? HOT 4
- Multiple methods named 'initWithValue:' found with mismatched result, parameter type or attributes v10.50.1 HOT 3
- ObjectId does not conform to SortableType - sorted(by:ascending:) not working as expected HOT 3
- Namespace DYLD, Code 1 Library missing HOT 2
- RealmSwift Crashing on Xcode 16 beta 2 when used in XCFramework as Dependency HOT 2
- Support "Cascading/Inheritable" Writes HOT 16
- Realm crash when accessing PersistableEnum HOT 13
- 极个别用户数据会莫名删除清空 HOT 2
- Query Syntax: Incorrect NSPredicate When Using `.values` on a Map Property HOT 6
- Migration strange behavior when schema version resets to zero HOT 12
- XCFramework compitability issue with Xcode HOT 2
- Ensure Migration.enumerateObjects(ofType:_:) consistently uses property mappings HOT 5
- Migrate Sync tests to use Basaas HOT 1
- Schema version is increased before Realm is initialized causing migration block to not run HOT 6
- N5realm18MultipleSyncAgentsE crash on start HOT 1
- realm::util::File::barrier() HOT 9
- Unit Test: Undefined symbol: _$s10RealmSwift0A0V13ConfigurationV07defaultC0AEvgZ HOT 3
- Allow KVC Collection Operators in Sort Descriptors HOT 7
- 'Realm accessed from incorrect thread.' in iOS 18 while in iOS 17 no issue HOT 1
- Fatal error: Unexpectedly found nil while unwrapping an Optional value HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from realm-swift.