Closed
Bug 354726
Opened 18 years ago
Closed 18 years ago
when moving a message between folders, keywords (tags and junk status) are lost
Categories
(Thunderbird :: Mail Window Front End, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: asa, Assigned: Bienvenu)
References
Details
(Keywords: fixed1.8.1)
Attachments
(2 files, 2 obsolete files)
1.94 KB,
patch
|
mscott
:
superreview+
|
Details | Diff | Splinter Review |
5.38 KB,
patch
|
mscott
:
superreview+
|
Details | Diff | Splinter Review |
I've just migrated to the new mail server infrastructure at MoCo and updated Thunderbird to the latest nightly Tbird 2 build. When I move a message (or it's automatically moved) from one folder to another folder, the junk status and tags are lost. If the server doesn't support it, we should do the move ourselves to preserve the keywords.
Assignee | ||
Comment 1•18 years ago
|
||
This works fine for me with the new MoCo server, because it actually handles it on the server, so we don't have to. What doesn't work is migrating keywords from the old server to the new server, because the old server didn't support keywords, so there was nothing to migrate.
Assignee | ||
Comment 2•18 years ago
|
||
Argh, I think the MoCo server has an unfortunate behavior - when we store a keyword like Work1, it turns it into WORK1. We treat user-defined keywords as case sensitive, though we treat the reserved keywords case-insensitively. Maybe we have to ignore the case of user-defined keywords but that scares me with mod-utf7 strings.
Assignee | ||
Comment 3•18 years ago
|
||
This will fix the tags problem, for newly created tags - but I'm really not happy about it and I'd like to push back a little on the MoCo server... Asa, you can fix your tags by editing your prefs.js and converting all your keys to upper case. So, for example, for the tag "Work1", you want to change the pref names to *.WORK1, like this: user_pref("mailnews.tags.WORK1.color", ""); user_pref("mailnews.tags.WORK1.tag", "Work1");
Assignee | ||
Comment 4•18 years ago
|
||
this should fix the losing of the junk/non junk keywords. I'm still thinking about the other keyword handling - my other patch fixes the problem for the MoCo server, but we really want to do case-insensitive compares instead of just always using upper case keys, because some server might arbitrarily decide to lower case all the keywords it returns...
Attachment #241064 -
Flags: superreview?(mscott)
Assignee | ||
Comment 5•18 years ago
|
||
upgrade all tag prefs so that the key is lower case, and make all queries lower case the key in the pref name before loading the pref.
Attachment #240685 -
Attachment is obsolete: true
Attachment #241098 -
Flags: superreview?(mscott)
Updated•18 years ago
|
Attachment #241064 -
Flags: superreview?(mscott) → superreview+
Comment 6•18 years ago
|
||
Comment on attachment 241098 [details] [diff] [review] normalize all keys to lower case I don't think this is the right patch attachment...
Attachment #241098 -
Flags: superreview?(mscott) → superreview-
Assignee | ||
Comment 7•18 years ago
|
||
Attachment #241098 -
Attachment is obsolete: true
Attachment #241102 -
Flags: superreview?(mscott)
Updated•18 years ago
|
Attachment #241102 -
Flags: superreview?(mscott) → superreview+
Assignee | ||
Comment 8•18 years ago
|
||
fixed on trunk and branch.
Comment 9•17 years ago
|
||
The dropped error code of GetColorForKey here caused bug 368370.
You need to log in
before you can comment on or make changes to this bug.
Description
•