Code Monkey home page Code Monkey logo

Comments (7)

sync-by-unito avatar sync-by-unito commented on August 24, 2024

➤ PM Bot commented:

Jira ticket: RCOCOA-2300

from realm-swift.

nirinchev avatar nirinchev commented on August 24, 2024

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.

tgoyne avatar tgoyne commented on August 24, 2024

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.

FlamurBeqiri avatar FlamurBeqiri commented on August 24, 2024

@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.

tgoyne avatar tgoyne commented on August 24, 2024

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.

FlamurBeqiri avatar FlamurBeqiri commented on August 24, 2024

Alright thnx for the Response

from realm-swift.

nirinchev avatar nirinchev commented on August 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.