Created attachment 109323 [details] Screenshot of KAddressBook create folder error message. I've tried to create a subfolder in the Address book (called "Personal Contacts"), however this gives an error message everytime: 'Could not create address book folder: Unable to append mimetype for collection new resourceId: 4' It is possible to Add another 'Address Book', and rename the new entry, however if you delete something from one of them it also deletes the data in the other books? So I want to create a folder instead, however this does not work either.
Hello! I have the same problem "creating collcetion fails" when creating any subfolder in any address bbok. The Workaround is to create a lot of *.vcf-card folder addressbooks (also in theses I cannot create a subfolder!) and in consequence clutter the adressbook. If this is the intended way of workflow here then please remove the option to add subfolders - it's not working. Does anyone use this functionality successfully or is it just that nobody cares about it anyway? I am confused - creating subfolders ina an addressbook seems like a core functionality of any address and contacts organizer... WHat's up?
eh yes, since I cannot edit my comments in this bug tracker... Here you go: CONFIRMED
Hello! I can confirm the bug, although with a slightly different error message: "Could not create address book folder: Could not create collection [XYZ], resourceId: 11" I would appreciate that the bug were fixed shortly, since an addressbook without subfolders is not very useful. There is a kind of workaround that works for me, although it is very ponderous. See: https://forum.kde.org/viewtopic.php?f=215&t=143208
I am using kaddressbook 5.12.3 with "akonadictl --version" also reports 5.12.3 Both are the latest versions from "Debian Testing". I have a similar error message when clicking "Add Address Book Folder..." I get "Could not create address book folder: Could not create collection [XYZ], resourceId: 38" I used akonadiconsole and found error messages in the logging tab. I will try to attach the log.
Created attachment 125801 [details] Saved log from akonadiconsole
Created attachment 130130 [details] AkonadiConsole Query Debugger tab with failed and successful queries I'm getting a similar error with the SQLite Akonadi backend ("UNIQUE constraint failed"), but interestingly I was able to create a folder using AkonadiConsole. The possible reason is that AkonadiConsole does INSERT-INSERT-SELECT-INSERT into the CollectionMimeTypeRelation table, whereas KAddressBook tries to do INSERT-INSERT-INSERT and fails.
(In reply to Stephen Peterson from comment #6) > Created attachment 130130 [details] > AkonadiConsole Query Debugger tab with failed and successful queries > > I'm getting a similar error with the SQLite Akonadi backend ("UNIQUE > constraint failed"), but interestingly I was able to create a folder using > AkonadiConsole. The possible reason is that AkonadiConsole does > INSERT-INSERT-SELECT-INSERT into the CollectionMimeTypeRelation table, > whereas KAddressBook tries to do INSERT-INSERT-INSERT and fails. I forgot to add that I'm using KAddressBook version 5.13.3 from Kubuntu 20.04.