If you delete a folder named "Test" it's moved to the Trash. Now if you delete another folder also named "Test", you'll get an IMAP error saying There's already an object with this name. The folder is removed from the folderlist, but is actually not deleted! In Netscape 4.7 if you delete a folder with a name that already exist in the Trash you'll get a Warning: The Trash already contains a folder named "Test". Please either empty the Trash or rename this folder. Mozilla should support this!
marking future. we're not going to get to this in beta3 and it doesn't meet our beta3 criteria. Just for kicks, how did you get in a state where you got folders with the same name? the protocol is supposed to prevent you from doing that.
Are you sure this will be in Future? After users delete a named "Test" folder to Trash folder, users are allowed to create the "Test" folder again, but if users tried to delete the 2nd created "Test" folder to Trash folder again in one session(and unchecked Empty Trash on exit), the error should display: "The Trash already contains a folder named "Test". Please either empty the Trash or rename this folder" instead of "There's already an object with this name". I am thinking if 4.x can support this -- Mozilla should support this, isn't it?
I think it's an edge case and I don't think it meets our beta3 criteria. It isn't one of the areas we are focusing on for beta3 (see selmer's email the other day on determing beta3 criteria). And it isn't important enough to warrant falling into the common sense says this needs to be fixed for beta3 regardless of the criteria case....
OK. Remove nsbeta3 based on beta3 criteria which mentioned from the previous comment.
Loads of people have IMAP folders with the same name. People could have a folder named "important" under multiple folders so the IMAP folderlayout could look something like this: Private\important Work\important Mozilla\important So when you delete the "important" folder under Mozilla it's moved to the trash. Now try to delete the folder "important" under Work. Error.
I think this is a side effect of bug 37454, maybe even dupe?
*** Bug 98970 has been marked as a duplicate of this bug. ***
For the record: this bug is not IMAP-specific. It happens in mailnews regardless of the protocol. You can't delete two folders with the same name, because they can't be in the trash at once.
Nominating nsbeta1 based on PRD p1 for better error handling.
*** Bug 97849 has been marked as a duplicate of this bug. ***
*** Bug 124583 has been marked as a duplicate of this bug. ***
there is also bug 66763 about this
*** Bug 123209 has been marked as a duplicate of this bug. ***
For current trunk and branch builds, an IMAP alert displays: "The current command did not succeed. The mail server responded: Mailbox already exist."
I hope to see this fixed soon. As stated in comment #9 it happens really everwhere, e.g. I had the problem with a POP account on Linux. For a quick fix I suggest renaming the folder in the trash in such a way that you can guess where it was before in the directory tree. If you still have duplicates, add numbers or delete dates to them. Tnx.
There's a patch in bug 73404 which would clean up Mozilla's behaviour a bit WRT filesystem representation od moved/deleted folders. Patch is waiting for a review.
Hope this won't be redundant. My Mozilla is 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312' I can not delete folder in similar situation. When I try to delete folder, it seems that Mozilla tries to change name of folder-to-be-deleted to my-trash-folder name instead of moving folder-to-be-deleted inside trash folder. So I got message 'Can't create mailbox node ... : Folder exists'.
Same problem here I must use OE for deleting folders on all my IMAP accounts. :( This drives my crezy and does not let use Mozilla on all our computers.
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031122 folder is not removed from list but I'm not using IMAP.
Is this a dupe of bug 66763? (Chronologically the other way around, I assume, but the other one seems more active.)
Same problem, yep. Duping.