WordPress-API-iOS icon indicating copy to clipboard operation
WordPress-API-iOS copied to clipboard

Error on WordPressRestApiJSONRequestOperation error method

Open bastos opened this issue 10 years ago • 0 comments

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

bastos avatar Jul 17 '14 04:07 bastos