[Tickets #13970] Fix expunge when UIDPLUS capability is not available

noreply at bugs.horde.org noreply at bugs.horde.org
Wed Apr 29 09:46:54 UTC 2015


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

Ticket URL: https://bugs.horde.org/ticket/13970
------------------------------------------------------------------------------
  Ticket             | 13970
  Created By         | rmccorkell at karoshi.org.uk
  Summary            | Fix expunge when UIDPLUS capability is not available
  Queue              | Horde Framework Packages
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              | 1
  Owners             |
------------------------------------------------------------------------------


rmccorkell at karoshi.org.uk (2015-04-29 09:46) wrote:

When UIDPLUS is not available, and certain other circumstances are  
met, _expunge() runs close(), resetting the value of $this->_selected,  
causing other function calls relying on that to fail. This patch  
stores the value of $this->_selected in a variable at the beginning of  
_expunge(), and all further function calls use that instead,  
guaranteeing the same mailbox is used throughout (even if it gets  
closed as part of the expunging).

Real world example of breakage:  
https://github.com/owncloud/mail/issues/408 (on behalf of the ownCloud  
team we'd appreciate a quick turnaround and/or backport!)



rmccorkell at karoshi.org.uk (2015-04-29 09:46) uploaded:  
0001-Fix-_expunge-when-UIDPLUS-is-not-available.patch

https://bugs.horde.org/h/services/download/?app=whups&actionID=download_file&file=0001-Fix-_expunge-when-UIDPLUS-is-not-available.patch&ticket=13970&fn=%2F0001-Fix-_expunge-when-UIDPLUS-is-not-available.patch





More information about the bugs mailing list