Closed Bug 56826 Opened 26 years ago Closed 25 years ago

IMAP: "Empty Trash" doesn't clean up non-ASCII subfolders.

Categories

(MailNews Core :: Internationalization, defect, P3)

All
Windows 95
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: ji, Assigned: Bienvenu)

References

Details

*****observed with win32, linux, max 20001013 branch builds**** When you have a non-ASCII subfolder under Trash folder, selecting "Empty Trash" menu will get errors and the non-ASCII subfolder doesn't get cleaned up. Steps to reproduce: 1. Have a non-ASCII subfolder in Trash folder. The example subfolder name can be "oà". 2. Have some mails in Trash and the non-ASCII subfolder. 3. Select File | Empty Trash You'll get an error saying that " The current commang did not succeed. Tha mail server responded: Maibox does not exist". The mails in Trash get removed, and the non-ASCII subfolder doesn't appear on the folder tree. But it's still there. After you restart the application, the non-ASCII subfolder will appear and the mails in that folder still remain.
I think there is a bug about unable to delete non ASCII folders. Is this a different problem?
Please specify IMAP or local or both.
We do have a bug for deleting non-ASCII folders (43349). This is a different one. The problem I reported is for IMAP accout. For POP account, "Empty Trash" doesn't get error and can remove the non-ASCII subfolder under Trash, but the subfolder still appears on the folder tree untill you restart the appication. I will file a seperate one for this. Bu the way, deleting a non-ASCII pop folder seems working now. It moves the non-ASCII folder to Trash.
Added IMAP in the summary.
Summary: "Empty Trash" doesn't clean up non-ASCII subfolders. → IMAP: "Empty Trash" doesn't clean up non-ASCII subfolders.
i don't see any difference in the behavior of ascii or non-ascii imap folders, they are both in the Trash after reopening
Filed bug 56838 for the problem on a POP account. That's a general problem not limited to non-ASCII subfolder names.
It's a core problem, i guess the bug was already filed on this, changing the component to Mail/News
Component: Internationalization → Mail Back End
Marina, on my system, the problem I saw with an IMAP account only happens with a non-ASCII subfolder name.
Component: Mail Back End → Internationalization
Reassign to bienvenu, cc to mscott.
Assignee: nhotta → bienvenu
yep, we're not handling the utf7 encoding/decoding correctly so even folders like names with a&b can't be cleaned up.
Status: NEW → ASSIGNED
*** Bug 59441 has been marked as a duplicate of this bug. ***
*** Bug 59441 has been marked as a duplicate of this bug. ***
fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
** Checked with 1/7/2001 Win32 build ** With the above build, even if there are non-ASCII name folders in the IMAP Trash folder, you can delete any messages and the folders under it by choosing "Empty Trash" command from the "File" menu. This is as desired and the fix seems to be good. Marking it verified as fixed for above Windows build. ji -- please check this for Linux marina -- please check this for Mac I will mark this bug fix verified as fixed now. Please re-open if you find otherwise with the other 2 platforms.
Status: RESOLVED → VERIFIED
Verified with linux 2001-01-19-mtrunk build. It is fixed.
verified the fix with Mac Mtrunk build 2001-01-19, it is working : Trash is empty
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.