IMAP Gateway: error when deleting folder with same name twice

Bug #395053 reported by FuePi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenMapi.org
Invalid
Undecided
Unassigned

Bug Description

1. Create folder "DELETE001".
2. Delete folder "DELETE001".
3. Create folder "DELETE001".
4. Delete folder "DELETE001".

20090630-154001.547|| 0||demo1||5 Response8
20090630-154001.547|| 0||demo1||NotificationHandlerUnsubscribe1
20090630-154001.554|| 0||demo1||NotificationHandlerUnsubscribe2
20090630-154001.555|| 0||demo1||NotificationHandlerUnsubscribe3
20090630-154001.606|| 0||demo1||sldkfj
20090630-154001.607|| 0||demo1||C: 6 rename "DELETE001" "Trash/DELETE001"
20090630-154001.608|| 0||demo1||command processing: "RENAME"
20090630-154001.994|| 0||demo1||6 Response1
20090630-154001.994|| 0||demo1||6 Response2
20090630-154001.994|| 0||demo1||6 Response3
20090630-154001.994|| 0||demo1||6 Response7
20090630-154001.994|| 0||demo1||S: 6 NO RENAME 0x80040604: MAPI_E_COLLISION

20090630-154001.995|| 0||demo1||6 Response8
20090630-154002.016|| 0||demo1|| at NMapi.TeamXChangeBase.MakeCall[MAPIFolder_CopyFolder_res,MAPIFolder_CopyFolder_arg] (System.Func`2 rpcCall, NMapi.Interop.MapiRPC.MAPIFolder_CopyFolder_arg arg, Boolean checkHrField) [0x00000]
  at NMapi.TeamXChangeBase.MakeCall[MAPIFolder_CopyFolder_res,MAPIFolder_CopyFolder_arg] (System.Func`2 rpcCall, NMapi.Interop.MapiRPC.MAPIFolder_CopyFolder_arg arg) [0x00000]
  at NMapi.Properties.Special.TeamXChangeMapiFolder.CopyFolder (System.Byte[] entryID, NMapi.NMapiGuid interFace, IMapiFolder destFolder, System.String newFolderName, IMapiProgress progress, Int32 flags) [0x000b6] in /home/install/OpenMapi.org/nmapi/providers/NMapi.Provider.TeamXChange/Properties/Special/TeamXChangeMapiFolder.cs:212
  at NMapi.Gateways.IMAP.CmdRename.Run (NMapi.Gateways.IMAP.Command command) [0x00169] in /home/install/OpenMapi.org/nmapi/gateways/imap/commands/CmdRename.cs:93

Revision history for this message
Andreas Hügel (andreas-huegel) wrote :

mapi does not allow 2 folders of the same name in the same place. We need to decide, if we want to create a work around. I have seen productive emailing environments, where deleting of a folder does not work at all.

Revision history for this message
Andreas Hügel (andreas-huegel) wrote :

we ran a check against an cyrus imap server. It showed the same behaviour. Therefor we decided to go with this limitation

Changed in openmapi:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.