[Tickets #1227] NEW: Whups RPC broken?
bugs at bugs.horde.org
bugs at bugs.horde.org
Fri Jan 21 16:15:25 PST 2005
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=1227
-----------------------------------------------------------------------
Ticket | 1227
Created By | jyl087 at netscape.net
Summary | Whups RPC broken?
Queue | Whups
State | Unconfirmed
Priority | 2. Medium
Type | Bug
Owners |
-----------------------------------------------------------------------
jyl087 at netscape.net (2005-01-21 16:15) wrote:
I'm new to Horde, and had some difficulty interfacing with the Whups SOAP
API. After some digging I uncovered a few things which may either be bugs,
or misunderstanding of how to use it properly.
In both _whups_add_tickets and _whups_set_ticket_attributes, I couldn't get
the functions to work as they exist in the current CVS HEAD.
- both functions call $ticket->setAttributes, instead of
$whups->setAttributes.
- both functions depend on complex types from the RPC, represented as
Arrays... I couldn't figure out how to make the SOAP engine generate arrays
from my data, and consequently, I had to insert a manual "get_object_vars"
conversion to convert.
- add_tickets doesn't honor the requester or owner fields
- attribute fields in the 2 functions aren't the same, requiring a different
XML schema for the 2 calls!
In the lib/Driver/sql.php file...
Line 839 "whups_queue" should be "whups_queues"
In tickets/people.php
Line 67... tostate should default to its current value ...
More information about the bugs
mailing list