6.0.0-beta1
7/28/25

[#4881] IMSP backend - _read function's handling of id lists
Summary IMSP backend - _read function's handling of id lists
Queue Turba
Queue Version HEAD
Type Bug
State Resolved
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester noah (at) lsit (dot) ucsb (dot) edu
Created 01/12/2007 (6772 days ago)
Due
Updated 01/13/2007 (6771 days ago)
Assigned 01/12/2007 (6772 days ago)
Resolved 01/13/2007 (6771 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
01/13/2007 04:01:17 AM Michael Rubinsky Comment #3
State ⇒ Resolved
Reply to this comment
Committed, thanks.
01/12/2007 07:24:57 PM Chuck Hagenbuch Assigned to Michael Rubinsky
State ⇒ Assigned
 
01/12/2007 07:20:16 PM noah (at) lsit (dot) ucsb (dot) edu Comment #2
New Attachment: turba-imsp-read-searched-with-multiple-ids.patch Download
Reply to this comment
This patch updates the _search function to use the fixed _read 
function's ability to handle a list of id's.
01/12/2007 07:08:02 PM noah (at) lsit (dot) ucsb (dot) edu Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ IMSP backend - _read function's handling of id lists
Queue ⇒ Turba
New Attachment: turba-imsp-fix-read-multiple-ids.patch Download
State ⇒ Unconfirmed
Reply to this comment
While not used this way by the _search function, Turba's IMSP 
backend's _read function is designed to handle multiple input ids, 
returning multiple results.  For it to work, the result needs to be 
reset during each iteration (different contacts lack certain fields 
that would otherwise be inherited from the previous entry).



The patch also includes a line to continue upon invalid entry, instead 
of immediately returning a PEAR_Error.  A PEAR_Error is returned only 
if no result is found for any id and getEntry has passed up a 
PEAR_Error.

Saved Queries