[Tickets #13839] Moving folders doesn't work

noreply at bugs.horde.org noreply at bugs.horde.org
Tue Feb 3 08:34:20 UTC 2015


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

Ticket URL: https://bugs.horde.org/ticket/13839
------------------------------------------------------------------------------
  Ticket             | 13839
  Created By         | horde at albasoft.com
  Summary            | Moving folders doesn't work
  Queue              | Synchronization
  Version            | Git master
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              | 1
  Owners             |
------------------------------------------------------------------------------


horde at albasoft.com (2015-02-03 08:34) wrote:

When moving a folder into another, the folder is not moved. Tested  
with 5.3.0 and MS Outlook 2013.

I think it's because an early return in renameMailbox function in  
Horde/ActiveSync/Imap/Adapter.php
When moving a folder named "folder1" into "folders/folder2", this  
function is called as
    renameMailbox($old, $new, $parent = null)
    renameMailbox("folder1", "folder1", "folders/folder2")

and the early return prevents from moving that folder, and nothing is changed:
if ($old == $new) { return; }

Testing after appending "parent" solves that bug (attached patch).




horde at albasoft.com (2015-02-03 08:34) uploaded:  
hordewm5-activesync_foldermoved.patch

https://bugs.horde.org/h/services/download/?app=whups&actionID=download_file&file=hordewm5-activesync_foldermoved.patch&ticket=13839&fn=%2Fhordewm5-activesync_foldermoved.patch





More information about the bugs mailing list