Summary | hierarchical folder rename |
Queue | IMP |
Queue Version | 4.0.3 |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | slusarz (at) horde (dot) org |
Requester | dgehl (at) inverse (dot) ca |
Created | 10/27/2005 (7227 days ago) |
Due | |
Updated | 10/28/2005 (7226 days ago) |
Assigned | |
Resolved | 10/28/2005 (7226 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
Assigned to Michael Slusarz
State ⇒ Resolved
your method of 'checking' to see if child folders are auto-renamed).
New Attachment: rename.txt
already followed and rename them only if necessary
which works for me.
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ hierarchical folder rename
Queue ⇒ IMP
New Attachment: folder_rename.png
does not seem to be fixed yet.
When you rename a folder containing sub and sub-subfolders, the code
in lib/Folder.php (function rename) obtains the complete list of
sub-folders on the server and renames all these folders. Cyrus, since
version 2, does automatically rename all subfolders. So basically, it
is not any more necessary (when using a new version of cyrus) to
rename the subfolders 'manually'. What is worse is that the users gets
error messages when IMP tries to rename a subfolder which does not any
more exist under the original name.
I see at least two possible solutions ...
1) always rename the folders in the 'right' order (starting with the
most imbricated ones)
2) rename only the main folder, then test if the folders below have
already followed and rename them only if necessary