[Akonadi] [Bug 323844] Adding foldert to imap-account gives "Duplicate entry" sql error

Daniel Vrátil dvratil at redhat.com
Mon Aug 26 18:10:33 BST 2013


https://bugs.kde.org/show_bug.cgi?id=323844

--- Comment #4 from Daniel Vrátil <dvratil at redhat.com> ---
@Geert, Akonadi by design does not allow having two subcollections with the
same name in the same parent collection - this can however happen with special
resources that handle various data types (like owncloud, which handles both
calendars and contacts). Please open a bug report against the owncloud resource
- the resource must make sure the name is unique within it's parent collection.
The name that is displayed to user can be stored to EntityDisplayAttribute, so
no worry that you would see one of your collections names like "Kobalt_2" or
something like that.

@Johannes, can you please check in Akonadi Console -> Db Browser ->
collectiontable that no collection with the name you are trying to create
exists there, then try to create it and check again. If a new record with the
name and remoteId filled is there, then there's some weird bug that KMail or
the IMAP resource is trying to create the collections twice. Make sure you have
"Debugger" enabled when creating the collection. If you get the error again,
please provide entire output of the "Debugger" tab. Thanks

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list