[dev] Renaming folders with sub-folders...

Michael M Slusarz slusarz at bigworm.colorado.edu
Wed Feb 25 00:12:49 PST 2004


Quoting Gary Windham <windhamg at email.arizona.edu>:

> Quoting Michael M Slusarz <slusarz at bigworm.colorado.edu>:
>
>> Quoting Gary Windham <windhamg at email.arizona.edu>:
>>
>>> I confirmed this behavior, using Cyrus IMAP 2.1.14.  Reloading the 
>>> folder list
>>> resulted in the original "test" folder disappearing, so this 
>>> appears to be a
>>> cache issue.
>>
>> Try what I just committed.
>
> Works for me...except for a couple of weird edge conditions.  I almost
> hesitate
> to mention them, but they're just too weird.
>
> If I have a folder hierarchy a/<anything>, where the top-level folder is
> *literally* called "a", then the folder rename operation fails.  If the
> top-level folder is called "b", or "x", or "aa", "cucumber", or *anything*
> else, then the rename succeeds.

That is strange - can't replicate that here.  Chuck's post possibly explains
this one though...

> The second condition is if I have a folder hierarchy "test1/test1", then
> renaming the top-level folder to "test2" results in the subfolder being
> renamed
> to "test2" as well.  That is, "test1/test1" becomes "test2/test2".

Can't replicate this, using courier-imap 2.2.0 (i.e., test0/test0, 
selecting the
base test0, changing the name test1, results in a tree of test1/test0).

michael

______________________________________________
Michael Slusarz [slusarz at bigworm.colorado.edu]
The University of Colorado at Boulder


More information about the dev mailing list