Closed Bug 497959 Opened 15 years ago Closed 15 years ago

rename doesn't work with imap fake server

Categories

(MailNews Core :: Backend, defect)

x86
Windows Vista
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 3.0b3

People

(Reporter: Bienvenu, Assigned: Bienvenu)

Details

Attachments

(3 files)

Attached patch proposed fixSplinter Review
I'm tring to get a test working that renames imap folders - I ran into a bunch of issues with fake server - this patch fixes them sufficiently so that I can run my test. Normally imap servers implement subscription with a separate list of subscribed folders - I don't have time to make fakeserver do that, but it's worth considering. I had to relax some of the error checking in the subscribe and unsubscribe code partly for that reason... The matchKids stuff defeated me - I'm not really convinced that function does the right thing in general but with my little change, it does the right thing for the use cases our tests generate... things like LSUB "" "/foo/bar.*" don't seem to be implemented, for example, along with the problem I was actually trying to fix...
Attachment #382998 - Flags: review?(Pidgeot18)
Attachment #382998 - Flags: review?(Pidgeot18) → review-
Comment on attachment 382998 [details] [diff] [review] proposed fix Per IRC, we came up with what is probably a better form for the matching problem. The other stuff seems okay to me, though.
this fix does work for me, when combined with my other fixes. I'll put up a patch with just my fixes in a bit...
Attachment #383847 - Flags: review+
Attachment #383847 - Attachment description: this is the fix jcranmer mentioned over irc → this is the fix jcranmer mentioned over irc - checked in.
Attached patch rest of fixSplinter Review
Attachment #383853 - Flags: review?(Pidgeot18)
Attachment #383853 - Flags: review?(Pidgeot18) → review+
fix checked in.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 3.0b3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: