You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ObjectiveResource
There's a bug in the code that results in certain class names not
being serialized properly when doing a findRemote call on the object
ID. This bug existed iin the object_resource zip file that I
downloaded:
FromXMLElementDelegate.m (Around line 52)
//Start of the root object
else if (parsedObject == nil && [elementName isEqualToString:
[self.targetClass xmlElementName]]) {
NSLog(@"starting on the root object");
self.parsedObject = [[[self.targetClass alloc] init] autorelease];
[self.unclosedProperties addObject:[NSArray arrayWithObjects:
[elementName camelize], self.parsedObject, nil]];
self.currentPropertyName = [elementName camelize];
}
elementName is not being camelized before being compared to
xmlElementName. To fix this elementname needs to be camelized:
else if (parsedObject == nil && [[elementName camelize]
isEqualToString:[self.targetClass xmlElementName]]) {
This is a pretty significant bug that prevents XML from serializing
properly.
Josh Vickery
unread,
Feb 10, 2009, 8:36:57 AM2/10/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message