[Tickets #12589] Re: Kolab_Storage: Ensure status($folder) is not cached

noreply at bugs.horde.org noreply at bugs.horde.org
Tue Aug 20 17:13:13 UTC 2013


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/12589
------------------------------------------------------------------------------
  Ticket             | 12589
  Updated By         | Michael Slusarz <slusarz at horde.org>
  Summary            | Kolab_Storage: Ensure status($folder) is not cached
  Queue              | Horde Framework Packages
  Version            | Git master
  Type               | Bug
  State              | Resolved
  Priority           | 1. Low
  Milestone          |
  Patch              | 1
  Owners             | Jan Schneider
------------------------------------------------------------------------------


Michael Slusarz <slusarz at horde.org> (2013-08-20 11:13) wrote:

>     Ensure the result of status($folder) is not cached by the  
> Horde_Imap_Client.

I would rather see this fixed by introducing a separate status flag  
that forces status() to ping the server.  Closing the mailbox is NOT  
the best way to do this - reopening a mailbox is a fairly expensive  
activity.  The correct method would instead to do a NOOP if the  
mailbox is currently open - this will cause the internal cache to be  
updated without having to reopen the mailbox.





More information about the bugs mailing list