Upgrading from 4.x IMAP filter with '&' folder name in name does not work



MailNews Core
18 years ago
10 years ago


(Reporter: Simon Fraser, Assigned: Navin Gupta)


Firefox Tracking Flags

(Not tracked)


(Whiteboard: [nsbeta1+ 2/13])



18 years ago
I have an IMAP folder called "Components & Tools" (no quotes) which works fine in 
4.x. Mozilla shows it correctly, but throws errors about 'the mailbox does not 
exist' when filters attempt to move mail to that folder.


18 years ago
QA Contact: lchiang → huang

Comment 1

18 years ago
This bug must log regrading to IMAP "filter" problem since I have no problem for 
creating the folder name with '&'.

I have created 'component&tools' & 'family & relative' both folders, they both 
work fine.
165[35a88b0]: nsmail-1:A:SendData: 4 create "component&-tools"
165[35a88b0]: nsmail-1:A:CreateNewLineFromSocket: 4 OK Completed
165[35a88b0]: nsmail-1:A:SendData: 5 subscribe "component&-tools"
165[35a88b0]: nsmail-1:A:CreateNewLineFromSocket: 5 OK Completed
165[35a88b0]: nsmail-1:A:SendData: 6 list "" "component&-tools"
165[35a88b0]: nsmail-1:A:CreateNewLineFromSocket: * LIST (\HasNoChildren) "/" 
165[35a88b0]: nsmail-1:A:CreateNewLineFromSocket: 6 OK Completed

262[351e100]: nsmail-1:S-INBOX:SendData: 9 create "family &- relative"
262[351e100]: nsmail-1:S-INBOX:CreateNewLineFromSocket: 9 OK Completed
262[351e100]: nsmail-1:S-INBOX:SendData: 10 subscribe "family &- relative"
262[351e100]: nsmail-1:S-INBOX:CreateNewLineFromSocket: 10 OK Completed
262[351e100]: nsmail-1:S-INBOX:SendData: 11 list "" "family &- relative"
262[351e100]: nsmail-1:S-INBOX:CreateNewLineFromSocket: * LIST (\HasNoChildren) 
"/" "family &- relative"
262[351e100]: nsmail-1:S-INBOX:CreateNewLineFromSocket: 11 OK Completed

Changing the summary from "IMAP folder with '&' name in name does not work"
to "IMAP filter with '&' folder name in name does not work" and change QA 
contact to Laurel, ccing me.
QA Contact: huang → laurel
Summary: IMAP folder with '&' in name does not work → IMAP filter with '&' folder name in name does not work

Comment 2

18 years ago
Simon any chance you can generate an imap log file when you get some mail that
gets filtered to this folder?

The nspr_log_modules name is IMAP:5....

Comment 3

18 years ago
New filter created in 6.0 for IMAP filter to IMAP folder "This & That" works. 
Fails on migrated filter.

The filter I created in 6.0 shows the folder name as "This &- That" whereas the
migrated filter shows "This & That".

Comment 4

18 years ago
My IMAP filters were copied by hand from 4.x

Comment 5

18 years ago
sigh. some uri or utf8 escaping problem.
Assignee: mscott → bienvenu

Comment 6

18 years ago
copying by hand shouldn't matter - profile migration doesn't upgrade filters - 
loading/running them for the first time upgrades them. There was some bizarre 
case where it mattered, but I doubt this is one of them.
Keywords: nsbeta3

Comment 7

18 years ago
- per mail triage
Whiteboard: [nsbeta3-]


18 years ago

Comment 8

18 years ago
adding mail3 keyword
Keywords: mail3

Comment 9

18 years ago
changing priorities
Priority: P3 → P2

Comment 10

18 years ago
marking nsbeta1+ and moving to mozilla0.8
Keywords: nsbeta3 → nsbeta1
Priority: P2 → P3
Whiteboard: [nsbeta3-] → [nsbeta1+]
Target Milestone: --- → mozilla0.8

Comment 11

17 years ago
moving to mozilla0.9
Target Milestone: mozilla0.8 → mozilla0.9

Comment 12

17 years ago
The fix is probably to change the code that upgrades old filters,
nsMsgFilter::ConvertMoveToFolderValue, to convert the target filter value to
modified utf7 before calling FindSubFolder.
Summary: IMAP filter with '&' folder name in name does not work → Upgrading from 4.x IMAP filter with '&' folder name in name does not work

Comment 13

17 years ago
marking nsbeta1- and moving to future milestone.
Keywords: nsbeta1 → nsbeta1-
Whiteboard: [nsbeta1+] → [nsbeta1+ 2/13]
Target Milestone: mozilla0.9 → Future

Comment 14

17 years ago
Changing platform
Hardware: All → Macintosh


17 years ago
OS: Mac System 8.5 → All
Hardware: Macintosh → All

Comment 15

17 years ago
Navin's been working in this area - he might have already fixed this, actually.
Assignee: bienvenu → naving

Comment 16

17 years ago
This should have been fixed as a result of fixing bug 62437
Last Resolved: 17 years ago
Resolution: --- → FIXED

Comment 17

17 years ago
OK using oct3 commerical 0.9.4. branch build: Mac OS 9.1, linux rh6.2, win98.
Since underlying bug was verified on both trunk and branch, I'm going to mark
this one verified.
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.