Closed
Bug 70517
Opened 24 years ago
Closed 23 years ago
Renamed/Deleted IMAP non-ASCII folders show up as utf-7 strings
Categories
(MailNews Core :: Internationalization, defect, P2)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9.3
People
(Reporter: ji, Assigned: naving)
References
Details
(Keywords: intl, regression, Whiteboard: verified on trunk)
Attachments
(2 files)
3.72 KB,
patch
|
Details | Diff | Splinter Review | |
2.16 KB,
patch
|
Details | Diff | Splinter Review |
******Observed with win32 02/26 mtrunk build******** The deleted non-ASCII folder name is displayed as a utf-7 string in the Trash until browser is restarted. Steps to reproduce: 1. Have a non-ASCII folder in your IMAP account, like "fôlder". 2. Delete the folder. 3. Go to Trash, you'll see the deleted folder shows up as a utf-7 string. 4. Restart the browser, the folder in the Trash goes back to its correct name.
Folder rename has this problem as well. To see it: Highlight a non-ASCII folder, select File | Rename Folder Changed the summary accordingly.
Summary: Deleted IMAP non-ASCII folders show up as utf-7 strings in the Trash → Renamed/Deleted IMAP non-ASCII folders show up as utf-7 strings
have to mention that this is a regression, there were several bugs filed on this and they all are marked verified.
Comment 4•24 years ago
|
||
Reassign to sspitzer@netscape.com. Is this related to bug 67859?
Assignee: nhotta → sspitzer
Comment 5•23 years ago
|
||
no, I doubt this is related to that subscribe bug. re-assign to naving.
Assignee: sspitzer → naving
Updated•23 years ago
|
Comment 6•23 years ago
|
||
this doesn't have to do with that subscribe bug. I bet local folders will have the same problem if the folder's pretty name isn't == the name on disk my guess is we aren't creating a folder cache element for the new folder (after the rename.) or if we are, we aren't copying over the "onlineName" from the old folder cache element. cc'ing cavin, this is something he's got a bug on for local folders.
Assignee | ||
Comment 7•23 years ago
|
||
Assignee | ||
Comment 8•23 years ago
|
||
So the fix is basically to convert UTF7Name to PRUnichar and SetName for that folder. cc bienvenu for review.
Comment 9•23 years ago
|
||
instead of passing the server around, you can just call CreateUnicodeStringFromUtf7 which is defined in nsMsgUtf7Utils.h and is what the imap server routine calls anyway.
Assignee | ||
Comment 10•23 years ago
|
||
Assignee | ||
Comment 11•23 years ago
|
||
presuming r/sr, david ?
Comment 12•23 years ago
|
||
sr=bienvenu for revised patch.
Assignee | ||
Comment 13•23 years ago
|
||
r=sspitzer
Reporter | ||
Comment 15•23 years ago
|
||
Verified with win32, linux and mac 07/06 trunk builds. It's fixed on the trunk.
Comment 16•23 years ago
|
||
Navin, can you mark it nsbranch+ now? Adding Scott as well
Comment 17•23 years ago
|
||
adding the nsbranch+, but I guess I should ask first if there's any chance it will break renaming ascii folders or creating folders?
Whiteboard: [nsbranch+]
Assignee | ||
Comment 18•23 years ago
|
||
It will not affect Create new folders. It should not break renaming/deleting of folders that have ascii names.
Reporter | ||
Comment 19•23 years ago
|
||
Tested renaming/deleting ascii folders. I didn't see any regressions there. Renaming using a name containing "/" or "\" causes browser hung, but it happens before the fix. It's not a regression.
Reporter | ||
Comment 20•23 years ago
|
||
The hanging problem when renaming with a folder name containing slash and back slash is reported in bug 89698. Again, this problem is NOT caused by this fix.
Comment 21•23 years ago
|
||
removing the nsbranch. Montse, if you can get PDT to give us a + for this then we can get this in. My guess (though I've been proven wrong) is that this bug isn't going to make their criteria this late.
Keywords: nsBranch
Whiteboard: [nsbranch+], verified on trunk → verified on trunk
Comment 22•23 years ago
|
||
I agree, it's not worth the "trip" to PDT, I think I know the answer without asking. Thanks for fixing it, though, the trunk will be happier.
Assignee | ||
Comment 23•23 years ago
|
||
fixed on trunk
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 24•23 years ago
|
||
*** Bug 91216 has been marked as a duplicate of this bug. ***
Keywords: relnoteRTM
Updated•20 years ago
|
Product: MailNews → Core
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•