[Tickets #11115] Re: delete action does not update mailbox in traditional view

bugs at horde.org bugs at horde.org
Thu Apr 5 19:10:27 UTC 2012


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

Ticket URL: http://bugs.horde.org/ticket/11115
------------------------------------------------------------------------------
  Ticket             | 11115
  Updated By         | Michael Slusarz <slusarz at horde.org>
  Summary            | delete action does not update mailbox in traditional
                     | view
  Queue              | IMP
  Version            | Git master
  Type               | Bug
  State              | Feedback
  Priority           | 2. Medium
  Milestone          |
  Patch              |
-Owners             |
+Owners             | Michael Slusarz
------------------------------------------------------------------------------


Michael Slusarz <slusarz at horde.org> (2012-04-05 13:10) wrote:

> I have also discussed this bug with Cyrus IMAPD developers. In their  
> opinion this might not a problem with Cyrus, but if you use  
> FLAGS.SILENT and don't get an error, you need to update your local  
> cache.

This is already what we do. From Horde_Imap_Client_Socket:

             $this->_sendLine($cmd);
             $this->_storeUpdateCache('replace', $options['replace']);
[...]
                     $this->_sendLine($cmdtmp);
                     $this->_storeUpdateCache($k, $options[$k]);

If the command executes correctly on the IMAP server ($this->_sendLine  
will throw an Exception on a BAD/NO response from the server), the  
cache is updated with the changes.

It goes without saying that this works fine for me, whether IMAP  
debugging is turned on or off (this toggles whether FLAGS or  
FLAGS.SILENT is sent).

> Included is imap-cache.txt:

There is no imap-cache.txt attached.





More information about the bugs mailing list