Re: takeValuesFromObject ?

Helge Hess <[email protected]>
Newsgroups gmane.comp.cms.opengroupware.xmlrpc.devel
Message-ID <[email protected]>
Andreas Rath wrote:
> Hashtable hash = new Hashtable();
> hash.put("startDate", "2003-03-20");
> hash.put("endDate", "2003-03-21");

This looks wrong, the dates should be specified as a date object.

> This returns an XML-RPC fault with the message:
>  "ObjcRuntimeException: SkyAppointmentDocument (instance) does not
> recognize takeValuesFromObject:keys:"

Weird. Can you post a bug on this? Even if the arguments are wrong, you 
shouldn't get an exception like this.

> What could be the cause of this problem? Is there some missing
> configuration of the OGo server (some default appointment object,...)
> or what could be the problem?

Please post a bug and I'll check tomorrow.

> (As some code tries to send an "takeValuesFromObject" message
> to an object that doesn't know that method, could this be some
> bug?);

Yes.

Error messages from the XML-RPC daemon are not very good and should be 
improved in general. Again, this is due to the generic mapping between 
ObjC and XML-RPC in the v1 daemon. We hope to improve on that with the 
ZideStore XML-RPC interface.

regards,
   Helge

-- 
OpenGroupware.org XML-RPC
[email protected]
http://mail.opengroupware.org/mailman/listinfo/xmlrpc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.