https://bugs.kde.org/show_bug.cgi?id=305987
Bug ID: 305987 Severity: normal Version: 4.9.0 Priority: NOR Assignee: kdepim-bugs@kde.org Summary: "Could not create collection" when adding new top-level mailbox for IMAP account: Classification: Unclassified OS: Linux Reporter: n...@leverton.org Hardware: Ubuntu Packages Status: UNCONFIRMED Component: folders Product: kmail2 To reproduce: Configure an IMAP resource (doesn't seem to matter whether online or disconnected, This issue occurs with both Exchange IMAP and Dovecot IMAP). Right click on the account's top-level folder and choose "Add folder" Expected result: New mailbox is created on the IMAP server and on the local resource. Actual result: New folder is created on the IMAP server but does not appear locally. Akonadi repeatedly gives an error "Could not create collection". Akonadi error log contains repeated entries : Error during executing query "INSERT INTO CollectionTable (remoteId, remoteRevision, name, parentId, resourceId, cachePolicyInherit) VALUES (:0, :1, :2, :3, :4, :5)" : "Duplicate entry '189-DovecotTopLevel' for key 'CollectionTable_parentAndNameIndex' QMYSQL3: Unable to execute statement" the 189 and the DovecotTopLevel string obviously vary depending on parent ID and name of created mailbox. Reproducible: Always -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ Kdepim-bugs mailing list Kdepim-bugs@kde.org https://mail.kde.org/mailman/listinfo/kdepim-bugs