Open
Bug 82262
Opened 23 years ago
Updated 2 years ago
IMAP Renaming folder unsets every customized folder property: charset, sortby, favorites, retention, "check this folder", etc
Categories
(MailNews Core :: Backend, defect, P3)
Tracking
(Not tracked)
NEW
People
(Reporter: marina, Assigned: benc, NeedInfo)
References
Details
(Keywords: dataloss, intl)
This could be related to bug # 81786 Steps to reproduce: - select a folder that has a charset assigned to it ( say Cyrillic KOI8-R); - rename the folder; //note: headers with nomime are turned into ????, if you go and view folder charset you'll see that cyrillic koi8-r is unset ( unfortunately there is no list available to reset the encoding)
Comment 1•23 years ago
|
||
Please try with 2001-05-17-08-mtrunk build which does not include bug 81786.
yes, the fact that as soon as you change the folder name the folder's charset is back to the first one on the list, arabic ( so it is immediatly changed); the only difference is that in 2001-05-17 build you can correct it by choosing the same (charset again). could that be that it is as designed...?
Comment 3•23 years ago
|
||
Could you check that other folder properties are preserved after rename?
except Folder's encoding and " Apply to all.." that gets unchecked all other properties are preserved
Updated•23 years ago
|
On 05/23 trunk builds (after the fix of bug 81786), renaming folder will reset the folder charset to the global view default charset.
now i don't think that those 2 bugs are related.Since bug # 81786 got fixed nothing is changed in the behavior of this bug: the original folder charset is unset after renaming and is reverted back to the global default specified in Prefs
yes, it is IMAP specific probelm and doesn't happen with Local folders
Comment 10•23 years ago
|
||
Move to future, it might be related to bug 84385. Cc to bienvenu, is charset attribute in msgdb supposed to be copied in case of rename?
Summary: Renaming folder unsets its charset → IMAP Renaming folder unsets its charset
Target Milestone: mozilla0.9.3 → Future
Comment 11•23 years ago
|
||
I don't believe renaming copies any of the old settings to the new folder. It's probably doable but not trivial - but if what you're getting at is that we should be transferring the charset when we do transfer info (this transfer happens when you compact a local folder, or when a local folder and its db get out of sync, or when an imap folder's uid validity changes), then I agree with you. Do you want to file a new bug for that?
Comment 12•23 years ago
|
||
Using my debug build, folder charset was not reset after compacting the local folder. Marina, please try with release build when you have time, thanks.
Comment 13•23 years ago
|
||
hmm, well, it probably should have been :-) but maybe the charset is stored in panacea.dat?
Reporter | ||
Comment 14•23 years ago
|
||
Naoki, are you saying that the local folder charset wasn't reset after renaming? But local folders are fine, it happens only on IMAP
Comment 15•23 years ago
|
||
Marina, I tested compact folder not rename. David, what is "panacea.dat"?
Comment 16•23 years ago
|
||
panacea.dat contains the summary of the global db information for every folder, so that we don't have to open the db's for every folder to get things like the total msg count and the unread count. But never mind, it's keyed by URI, and if you rename a folder, the uri changes so we can't be getting that info from panacea.dat.
Reporter | ||
Comment 17•23 years ago
|
||
still happens with 2002-02-11 build
Updated•20 years ago
|
Product: MailNews → Core
Comment 18•17 years ago
|
||
Still happends in Seamonkey 1.1.3.
Updated•16 years ago
|
Product: Core → MailNews Core
Updated•15 years ago
|
QA Contact: marina → i18n
Comment 22•11 years ago
|
||
rkent in bug 391641 writes "I would expect this to be an easy bug to solve." from bug 536892 (In reply to David :Bienvenu from comment #4) > ah, ok, that's a bit trickier, given the nature of imap, but it could be > done somehow. We'd need to remember the settings, and then apply them once > we'd run folder discovery and discovered the new imap folder. (In reply to David :Bienvenu from comment #7) > renaming an imap folder doesn't try to maintain any information currently. > It gets a bit more complicated when you rename a folder hierarchy. from bug 126489 (In reply to Navin Gupta from comment #0) > We also need to decide what we have to do with mailboxName in > dbFolderInfo->GetTransferInfo.
Assignee: nhottanscp → nobody
Severity: normal → major
Status: ASSIGNED → NEW
Component: Internationalization → Backend
Priority: P4 → --
Summary: IMAP Renaming folder unsets its charset → IMAP Renaming folder unsets many folder properties: charset, sortby, favorites
Whiteboard: [datalossy]
Target Milestone: Future → ---
Comment 23•11 years ago
|
||
When I was investigating bug 901959, I have noticed renaming IMAP folder does remove .msf file in nsImapMailFolder::RenameLocal(). So all of properties in .msf are lost while renaming.
Updated•8 years ago
|
Comment 27•8 years ago
|
||
The most annoying thing for me that is lost is the "use offline" flag, i.e. in "Account Settings -> Sync & Storage -> Message Sync -> Advanced" I need to re-check the flag for the folder under the new name. The behaviour is especially counterintuitive in that, if I rename the folder on "Profile 1", and then go into "Profile 2" it will automatically detect the new folder and apply the flag automatically in "Profile 2", even though "Profile 1" was the one that did the actual moving - and has more information to fix the situation! But no, I still have to fix things manually in "Profile 1".
Comment 28•4 years ago
|
||
For some time I've noticed that renaming a folder loses the favorite status. I'm on 68.4.2.
Is this still the same bug?
Comment 29•4 years ago
|
||
Is this still the same bug?
Yes, same issue.
OS: Windows 2000 → All
Summary: IMAP Renaming folder unsets many folder properties: charset, sortby, favorites → IMAP Renaming folder unsets every customized folder property: charset, sortby, favorites, offline, retention, "check this folder", etc
Comment 30•4 years ago
|
||
Magnus, Kent felt this should be easy to fix, and I think it should just be a matter of copying the folder attributes. Pretty sure we fixed this for compact a few years ago, perhaps in this list https://mzl.la/38mW4RV - Aceman might remember. Can you set a priority?
Flags: needinfo?(mkmelin+mozilla)
Flags: needinfo?(acelists)
Comment 32•4 years ago
|
||
Seems that the "offline" usage does survive a rename. The others don't.
Assignee: nobody → benc
Severity: critical → normal
Flags: needinfo?(mkmelin+mozilla)
Priority: -- → P3
Comment 33•4 years ago
|
||
(In reply to Magnus Melin [:mkmelin] from comment #32)
Seems that the "offline" usage does survive a rename.
Indeed it does. That's odd
Summary: IMAP Renaming folder unsets every customized folder property: charset, sortby, favorites, offline, retention, "check this folder", etc → IMAP Renaming folder unsets every customized folder property: charset, sortby, favorites, retention, "check this folder", etc
Comment 34•4 years ago
|
||
Looking at bug 1633205 is likely helpful.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•