[dev] [cvs] commit: imp/lib/IMAP Tree.php

Michael M Slusarz slusarz at mail.curecanti.org
Tue Dec 6 22:08:18 PST 2005


Quoting Jan Schneider <jan at horde.org>:

> Zitat von Michael M Slusarz <slusarz at bigworm.curecanti.org>:
>
>> Quoting Jan Schneider <jan at horde.org>:
>>
>>> jan         2005-12-06 08:44:47 PST
>>>
>>>   Modified files:
>>>     lib/IMAP             Tree.php
>>>   Log:
>>>   Allow to force fetching all mailbox levels. Still doesn't work as
>>>   expected. Michael, maybe you could take a look?
>>>
>>>   Revision  Changes    Path
>>>   1.63      +40 -28    imp/lib/IMAP/Tree.php
>>>
>>>   Chora Links:
>>>   http://cvs.horde.org/diff.php/imp/lib/IMAP/Tree.php?r1=1.62&r2=1.63&ty=u
>>
>> I haven't had a time to look at the code, but have you looked at the
>> IMP menu block?  We have to fetch all mailbox levels there to
>> correctly build the javascript Horde_Tree:: structure, and this has
>> worked for a long time with our existing code.
>
> Yeah, that's why I don't understand why it isn't working. I
> explicitely ask to init() with IMAPTREE_INIT_FETCHALL, for the sidebar
> block we do this implicitely. I checked that the correct init
> parameter reaches IMAP_Tree, it does.

Are you sure init() is running though?  Or is the object being  
retrieved from the sessionobjects cache, in which case init() won't be  
run and the object will be rebuilt only with whatever mailboxes were  
already stored in the object?

michael

_______________________________________
Michael Slusarz [slusarz at curecanti.org]


More information about the dev mailing list