Skip to content

AFNetworking error does not trickle all the way back through the callbacks. #11

@spilliams

Description

@spilliams

(I'm using NRGramKit 1.4)
My app makes a call to log in, and AFNetworking (1.3.4) comes back with an error. The error trickles up to NRGramKit.m:219, where the error data is no longer used in the callback chain. Following the chain from there, we pass through NRGramKit.m:145 (which gets nil parameters as well) before hitting NRGramKit.m:241, where an IGUser is created using the nil dictionary.

By the time the callback chain makes it back to the original call to +loginInWebView:loginLoadingCallback:finishedCallback: we have lost track of the fact that there was an error, and instead we have an empty user object.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions