6.0.0-beta1
7/5/25

[#6859] pear IMAP implementation of ::getUids() is broken
Summary pear IMAP implementation of ::getUids() is broken
Queue Kolab
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester math.parent (at) gmail (dot) com
Created 06/08/2008 (6236 days ago)
Due
Updated 06/14/2008 (6230 days ago)
Assigned 06/12/2008 (6232 days ago)
Resolved 06/14/2008 (6230 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
06/14/2008 01:07:28 PM Jan Schneider Taken from Thomas Jarosch
Taken from Gunnar Wrobel
State ⇒ Not A Bug
 
06/14/2008 11:09:20 AM math (dot) parent (at) gmail (dot) com Comment #3 Reply to this comment
Hi Thomas,



I've tested again with only the pear patch 
(http://cvs.php.net/viewvc.cgi/pear/Net_IMAP/IMAPProtocol.php?r1=1.27&r2=1.28
and it worked.



Sorry, you can close this bug. The patch was a workaround which not 
needed anymore.
06/12/2008 08:20:31 AM Thomas Jarosch State ⇒ Feedback
 
06/12/2008 08:20:03 AM Thomas Jarosch Comment #2 Reply to this comment
Hello Mathieu,
I took a look at your patch and I'm quite surprised that an IMAP UID 
search command stopped working in Net_IMAP. According to the 
documentation it's defined as "mixed search( string $search_list, 
[boolean $uidSearch = false])"

and the code in Net_IMAP seems to behave like this.



Have you checked with a packet sniffer like tcpdump what goes over the wire?

My feeling tells me this is an upstream bug in Net_IMAP.



There is also another issue with the patch:

You will sync in "temporary" objects as deleted messages are not excluded.



In my version of 1.1.0beta2, $imap->getMessagesList() only takes one 
parameter. What's the second "false" argument supposed to do?



Cheers,

Thomas


06/08/2008 03:09:59 PM Chuck Hagenbuch State ⇒ Assigned
Assigned to Thomas Jarosch
Assigned to Gunnar Wrobel
 
06/08/2008 01:31:20 PM math (dot) parent (at) gmail (dot) com Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ pear IMAP implementation of ::getUids() is broken
Queue ⇒ Kolab
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
curently getUids returns nothing. This breaks freebusy, ingo, turba, ...



Using PEAR IMAP 1.1.0beta2 (with patch from 
http://cvs.php.net/viewvc.cgi/pear/Net_IMAP/IMAPProtocol.php?r1=1.27&r2=1.28)



Proposed patch: https://www.intevation.de/roundup/kolab/file804/pear.php.diff



Note: This is part of the issue in kolab/issue2725.

Saved Queries