6.0.0-beta1
9/2/25

[#8741] browse method return bad value
Summary browse method return bad value
Queue Turba
Queue Version 2.3.2
Type Bug
State No Feedback
Priority 1. Low
Owners
Requester rpolli (at) babel (dot) it
Created 11/30/2009 (5755 days ago)
Due
Updated 12/23/2009 (5732 days ago)
Assigned 12/04/2009 (5751 days ago)
Resolved 12/23/2009 (5732 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
12/23/2009 11:38:59 AM Jan Schneider State ⇒ No Feedback
 
12/04/2009 06:01:40 PM Jan Schneider Comment #4 Reply to this comment
$registry->call('contacts/browse', array('youruid'));

in the PHP shell.
12/04/2009 05:54:37 PM rpolli (at) babel (dot) it Comment #3 Reply to this comment
Please use the API call directly, i.e. not through SOAP, to get a 
complete PEAR_Error object.
can you make an example? I'm still a horde noob...

Peace,
R.

12/04/2009 03:34:49 PM Jan Schneider State ⇒ Feedback
 
12/04/2009 03:34:39 PM Jan Schneider Comment #2 Reply to this comment
Please use the API call directly, i.e. not through SOAP, to get a 
complete PEAR_Error object.
11/30/2009 06:29:22 PM rpolli (at) babel (dot) it Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ browse method return bad value
Queue ⇒ Turba
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
- fresh horde installation
- error is "object hasn't 'key' property"
- all was fine in previous version
- method: browse("daniele@demo1.net/cac84e4112a3c4f40cbc651f6e8d9c19", 
["modified"])
http trace follows


*** Outgoing SOAP ******************************************************
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
   SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
   xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
   xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
   xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
   xmlns:xsd="http://www.w3.org/1999/XMLSchema"
<SOAP-ENV:Body>
<ns1:contacts.browse xmlns:ns1="urn:horde" SOAP-ENC:root="1">
<v1 
xsi:type="xsd:string">daniele@demo1.net/cac84e4112a3c4f40cbc651f6e8d9c19</v1>
<v2 SOAP-ENC:arrayType="xsd:string[1]" xsi:type="SOAP-ENC:Array">
<item>modified</item>
</v2>
</ns1:contacts.browse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
************************************************************************
*** Incoming SOAP ******************************************************
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope 
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Server</faultcode><faultstring>SOAP-ERROR: Encoding: object hasn't 'key' 
property</faultstring></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
************************************************************************
*** faultType: <Fault SOAP-ENV:Server: SOAP-ERROR: Encoding: object 
hasn't 'key' property>

Saved Queries