6.0.0-alpha14
7/3/25

[#12224] ActiveSync: Can't create new IMAP folders via PIM
Summary ActiveSync: Can't create new IMAP folders via PIM
Queue Synchronization
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester thomas.jarosch (at) intra2net (dot) com
Created 04/26/2013 (4451 days ago)
Due
Updated 07/25/2013 (4361 days ago)
Assigned 05/01/2013 (4446 days ago)
Resolved 05/30/2013 (4417 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
07/25/2013 03:07:19 PM Thomas Jarosch Comment #14 Reply to this comment
Going to assume this is fixed. Works locally.
yes, works fine with the latest release / git master :)
(I'm back on ActiveSync testing...)

05/30/2013 07:49:58 PM Michael Rubinsky Comment #13
State ⇒ Resolved
Reply to this comment
Going to assume this is fixed. Works locally.
05/25/2013 05:36:08 PM Michael Rubinsky Comment #12 Reply to this comment
Hierarchy sync has been heavily refactored in Git. Can you test to see 
if you still see these issues now?
05/14/2013 09:01:25 PM Michael Rubinsky Comment #11 Reply to this comment
This is with origin/FRAMEWORK_5_0 git HEAD.
There is no more work being committed on FRAMEWORK_5_0 for the 
framework libraries now that the release cycle has started. Please 
test against master.
05/14/2013 08:59:34 PM Git Commit Comment #10 Reply to this comment
Changes have been made in Git (master):

commit 89761bdae765fc7ffd66904f181184be6f6cd3bc
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Tue May 14 16:54:35 2013 -0400

     Revert uneccessary fix for Bug: 12224

  .../lib/Horde/ActiveSync/Imap/Adapter.php          |    5 ++---
  1 files changed, 2 insertions(+), 3 deletions(-)

http://git.horde.org/horde-git/-/commit/89761bdae765fc7ffd66904f181184be6f6cd3bc
05/14/2013 01:12:10 PM Thomas Jarosch Comment #9
New Attachment: delete_blupper2_activesync.log Download
Reply to this comment
ActiveSync device log of "INBOX/Blupper2" mailbox deletion.
05/14/2013 01:11:38 PM Thomas Jarosch Comment #8
New Attachment: delete_blupper2_horde.log Download
Reply to this comment
Horde log of "INBOX/Blupper2" mailbox deletion.
05/14/2013 01:10:47 PM Thomas Jarosch Comment #7 Reply to this comment
Added for deletion, does this work for you?
Ah crap, looks like my initial analysis was wrong: Now I see 
"INBOX/INBOX/something" for a delete request. So for the mailbox 
delete request we don't need to append the default namespace. Please 
revert.

The mailbox delete only _reports_ it's not working but in fact the 
mailbox is gone.

I'll attach the log files of the deletion from the folder "INBOX/Blupper2".
This is with origin/FRAMEWORK_5_0 git HEAD.

Looks like we have some PHP error message in there again.

05/06/2013 04:19:03 PM Michael Rubinsky Comment #6 Reply to this comment
Added for deletion, does this work for you?
05/06/2013 04:18:36 PM Git Commit Comment #5 Reply to this comment
Changes have been made in Git (master):

commit 57cbf877bade673675fd742a8f90456163d0b038
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Mon May 6 12:17:38 2013 -0400

     Need default NS when deleting a mailbox also.

     Bug: 12224

  .../lib/Horde/ActiveSync/Imap/Adapter.php          |   34 
++++++++++++++------
  1 files changed, 24 insertions(+), 10 deletions(-)

http://git.horde.org/horde-git/-/commit/57cbf877bade673675fd742a8f90456163d0b038
05/03/2013 01:15:16 PM Thomas Jarosch Comment #4 Reply to this comment
Can you see if this fixes it for you?
Yes - for folder creation. We need the same lookup for deletion, too :)

I've backported the code to FRAMEWORK_5_0, automatic cherry-pick 
failed for my git tree, but the diff applies without any hickup.

05/01/2013 06:31:46 PM Michael Rubinsky Comment #3
Assigned to Michael Rubinsky
State ⇒ Feedback
Reply to this comment
Can you see if this fixes it for you?
05/01/2013 06:31:15 PM Git Commit Comment #2 Reply to this comment
Changes have been made in Git (master):

commit 90e085a615a952ca51b886af0eb648830aa816b8
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Wed May 1 14:30:05 2013 -0400

     Bug: 12224 Create new mailboxes under correct namespace.

  .../lib/Horde/ActiveSync/Imap/Adapter.php          |   56 
++++++++++++++++++++
  1 files changed, 56 insertions(+), 0 deletions(-)

http://git.horde.org/horde-git/-/commit/90e085a615a952ca51b886af0eb648830aa816b8
04/26/2013 03:16:13 PM Thomas Jarosch Comment #1
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Queue ⇒ Synchronization
Summary ⇒ ActiveSync: Can't create new IMAP folders via PIM
Type ⇒ Bug
Reply to this comment
Hi,

when I try to create a new IMAP folder via an iPad,
our ActiveSync driver takes the "raw" folder name
and tries to create the mailbox on the root folder level.

If I adapt the "changeFolder()" function in 
framework/Core/lib/Horde/Core/ActiveSync/Driver.php
to prefix the folder name with "INBOX/", it works fine. Of course this 
was just a PoC.
We need some similar logic like imp to create the folder in the 
default namespace.

Cheers,
Thomas

Saved Queries