Re: Duplicate Firstname In Person Result Document

Helge Hess <[email protected]>
Newsgroups gmane.comp.cms.opengroupware.xmlrpc.devel
Message-ID <[email protected]>
On Sep 7, 2004, at 22:35, Adam Tauno WIlliams wrote:
> In testing my .Net code I discovered that my xmlrpcd returns a  
> duplicate
> firstname value (which causes the .Net collection to bail due to
> duplicate key/value pair).

Which is correct, a struct can only contain unique keys.

> I checked the connection with ethereal to confirm, and sure enough...

You can also use the -WOHttpAdaptor_LogStream YES option of xmlrpcd (or  
any SOPE app) to track HTTP output.

> ...
> <member><name>firstname</name><value><string>Adam</string></value></ 
> member>
> <member><name>firstname</name><value><string>Adam</string></value></ 
> member>
> ...

Hm, I didn't try, but its almost impossible that this can happen  
because XML-RPC records are also stored in hashmaps in SOPE. But who  
knows ;-) It would be great if you could create a bugreport and attach  
a small Python script which reproduces the issue.

Thanks,
   Helge
-- 
http://docs.opengroupware.org/Members/helge/
OpenGroupware.org

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