Re: Problems with project.insert...
Helge Hess <[email protected]>
| Newsgroups | gmane.comp.cms.opengroupware.xmlrpc.devel |
|---|---|
| Message-ID | <[email protected]> |
On Mar 8, 2004, at 7:10 PM, Marius Heidenstecker wrote:
> I'm trying to fill opengroupware with data from cvs-files. I have
> managed to
> import persons and enterprises via the xmlrpc-interface. That works
> well. I'm
> now trying to import project via the same interface. But running the
> script
> fails. Even the small test-prog won't work.
OK, you discovered some bugs ;-)
a) Logic/LSFoundation couldn't properly deal with plain NSDate objects
as passed
in by the XML-RPC layer
b) Logic/LSProject did not properly check for incorrect dates being
passed in
c) XmlRpcAPI/Daemon tried to map parameters using the wrong map
(treated input as
contact data, not as projects)
All fixed in CVS and your test should work, I added a similiar one in
XmlRpcAPI/Daemon/tests.
Thanks for your help,
Helge
--
http://docs.opengroupware.org/Members/helge/
OpenGroupware.org
--
OpenGroupware.org XML-RPC
[email protected]
http://mail.opengroupware.org/mailman/listinfo/xmlrpc