| Summary: | Cannot create new folders with IMAP using Dovecot-imapd, regression from 3.4.X | ||
|---|---|---|---|
| Product: | [Unmaintained] kmail | Reporter: | Jeremy Sonander <jeremy> |
| Component: | general | Assignee: | kdepim bugs <pim-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | martin.tessun |
| Priority: | NOR | ||
| Version First Reported In: | 1.9.1 | ||
| Target Milestone: | --- | ||
| Platform: | Gentoo Packages | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Jeremy Sonander
2006-02-12 19:50:26 UTC
A test account would be good indeed. I cofirm this, it doesn't create folders with dovecot. I am also seeing this with kmail from the KDE-Redhat 3.5.1/3.5.2 packages on Scientific Linux 305, connecting to a dovecot server on a Scientific Linux 4.2 machine. I can supply a test account if that would be helpful. As a followup, I have been experimenting, and if I add the patch from comment 6 in bug 115254, rebuild, and replace libkmailprivate with the rebuilt version, things seem to work OK and I can now create folders in the root level once more. SVN commit 527774 by burghard:
Do not create wrong folder paths.
BUGS:121843
M +2 -1 imapaccountbase.cpp
--- branches/KDE/3.5/kdepim/kmail/imapaccountbase.cpp #527773:527774
@@ -1281,7 +1281,8 @@
if ( delim.isEmpty() ) {
delim = "/";
}
- if ( !newName.endsWith( delim ) && !folderName.startsWith( delim ) ) {
+ if ( !newName.isEmpty() &&
+ !newName.endsWith( delim ) && !folderName.startsWith( delim ) ) {
newName = newName + delim;
}
newName = newName + folderName;
*** Bug 120614 has been marked as a duplicate of this bug. *** |