6.0.0-beta13
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
4/11/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#10434] downloading a mailbox doesn't work
*
Your Email Address
*
Spam protection
Enter the letters below:
__ .__ . ..___.__ / `| \|\ |[__ [__) \__.|__/| \|| |
Comment
>>> Same here. I tried to step-debug it, but I got completely lost in the >>> Imap_Client code. Several times. >> >> You are both using caching. Check to make sure the default fetch >> entries are set correctly (Horde_Imap_Client::fetch(), line 2080; >> $ret variable). $ret should be an array with sequence numbers as >> keys and empty Data objects as values. >> >> Then check the cached data in Horde_Imap_Client_Base::fetch() (line >> 2117; $data variable). Make sure that cached data is valid. >> >> If all looks good, check to make sure the return variable is still >> correctly set before we start calling _fetch() to grab the data we >> don't have (line 2204; foreach loop). > > It looks good until there. For some reason this code is called twice, > but both times the $ret contents looks fine: > > array > 1 => > object(Horde_Imap_Client_Data_Fetch)[439] > protected '_data' => > array > 14 => int 1 > 13 => int 39078 > 12 => int 5796 > > and > > array > 1 => > object(Horde_Imap_Client_Data_Fetch)[477] > protected '_data' => > array > 14 => int 1 > 13 => int 39078 > 9 => > object(Horde_Imap_Client_Data_Envelope)[591] > protected '_data' => > array > 'date' => > object(Horde_Imap_Client_DateTime)[592] > ... > 'subject' => string '[Tickets #8353] Re: Sort out > LDAP preferences mess with user bindings' (length=69) > 'in_reply_to' => string > '<whups-8353-fa27ef3ef6570e32a79e74deca7c1bc3@bugs.horde.org>' > (length=60) > 'message_id' => string > '<20090616114609.ooocc4w@bugs.horde.org>' (length=39) > 'from' => > array > ... > 'to' => > array > ... > 11 => > object(Horde_Imap_Client_DateTime)[593] > private '_datetime' => null > private '_error' => boolean false > private '_string' => string '16-Jun-2009 17:48:14 > +0200' (length=26) > > but after the _fetch() call, in the second run, $ret is empty. so > these are contents of $ret after _fetch(): > > array > 1 => > object(Horde_Imap_Client_Data_Fetch)[439] > protected '_data' => > array > 14 => int 1 > 13 => int 39078 > 12 => int 5796 > > and > > array > empty >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers