IMAP Renaming folder unsets every customized folder property: charset, sortby, favorites, retention policy, "check this folder", etc
Categories
(MailNews Core :: Backend, defect, P3)
Tracking
(Not tracked)
People
(Reporter: marina, Unassigned)
References
Details
(Keywords: dataloss, intl)
Comment 1•25 years ago
|
||
Comment 3•25 years ago
|
||
Updated•25 years ago
|
Comment 10•25 years ago
|
||
Comment 11•25 years ago
|
||
Comment 12•25 years ago
|
||
Comment 13•25 years ago
|
||
| Reporter | ||
Comment 14•25 years ago
|
||
Comment 15•25 years ago
|
||
Comment 16•25 years ago
|
||
| Reporter | ||
Comment 17•24 years ago
|
||
Updated•21 years ago
|
Comment 18•19 years ago
|
||
| Assignee | ||
Updated•18 years ago
|
Updated•17 years ago
|
Comment 22•13 years ago
|
||
Comment 23•13 years ago
|
||
Updated•10 years ago
|
Comment 27•10 years ago
|
||
Comment 28•6 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•6 years ago
|
||
Is this still the same bug?
Yes, same issue.
Comment 30•6 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?
Comment 32•6 years ago
|
||
Seems that the "offline" usage does survive a rename. The others don't.
Comment 33•6 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
Comment 34•6 years ago
|
||
Looking at bug 1633205 is likely helpful.
Updated•4 years ago
|
Comment 35•1 year ago
|
||
Ben, Do you still want this on your plate?
Comment 36•1 year ago
|
||
(In reply to Wayne Mery (:wsmwk) from comment #35)
Ben, Do you still want this on your plate?
Taking myself off it for now - too much else going on. But happy to come back to it.
It's one of those annoying ones that should be trivial, but ends up either as an icky workaround or a catalyst for a proper refactoring project to sort it out properly.
Updated•11 months ago
|
Comment 41•2 months ago
|
||
Bug 2060192 landed for 156 and covers part of this: on an IMAP rename or move a folder now keeps "select for offline use", "check this folder for new messages", favourite, its retention policy and its place in a manually sorted list, and the color survives on every account type.
What is left here is the view state in the folder database: sortType, sortOrder, viewType, viewFlags - the "sortby" of the summary - and columnStates, the columns reported in the duplicate bug 1998230. Only IMAP loses them, because only there does the rename replace the database.
The charset from the summary looks obsolete: there is no per-folder charset left in nsIMsgFolder.idl or nsIDBFolderInfo.idl.
I would like to take this on. It is the same place in the code as bug 2060192, nsImapIncomingServer::OnlineFolderRename, and the test file for it already exists.
Description
•