Skip to content
This repository was archived by the owner on Jun 5, 2018. It is now read-only.
This repository was archived by the owner on Jun 5, 2018. It is now read-only.

Error on WordPressRestApiJSONRequestOperation error method #19

@bastos

Description

@bastos

Hi, I got an error when I was tying to use the example app.

AFHTTPRequestOperation error is being overwritten and is calling self.responseObject.

The problem is that AFHTTPRequestOperation responseObject implementation calls self.error and then we get an infinite loop crash.

The "right" thing to do here is probably remove the code inside AFHTTPRequestOperation and move it to a custom AFHTTPResponseSerializer class.

Here I'm using AFNetworking (2.3.1).

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