Error Domain=org.brautaset.JSON.ErrorDomain Code=1
Reported by Tony Amoyal | December 16th, 2010 @ 10:31 PM
I have some code like this:
UserSession *session = [[[UserSession alloc] init]
autorelease];
session.login = self.login;
session.password = self.password;
return [session createRemoteWithResponse:error];
When I run it I get this error:
2010-12-16 22:24:08.646 PinweelMobile[6855:207] Error
Domain=org.brautaset.JSON.ErrorDomain Code=1 "Unsupported value for
key user_session in object" UserInfo=0x5f8aa40
{NSLocalizedDescription=Unsupported value for key user_session in
object}
I'm not sure exactly why this would happen, but I do know that when I go into NSObject+PropertySupport.m and make this change:
/ ORIGINAL / // currentClass = [currentClass
superclass];
/ TONY AMOYAL / currentClass = nil;
Everything works fine. I'll probably dig into this more soon, but I found this quick fix while google-ing the error and I wanted to report the bug.
Comments and changes to this ticket
-
PauletteLeake June 15th, 2020 @ 12:03 PM
I think you can use this site to find all useful information you need: https://mykitchenadvisor.com. When it comes to cooking, it is cool a lot. I think you like it a lot.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Port of Rails' ActiveResource framework to the iPhone.