Bug 385510 - Cannot add address book folder to Personal contacts resource
Summary: Cannot add address book folder to Personal contacts resource
Status: REPORTED
Alias: None
Product: kaddressbook
Classification: Applications
Component: general (show other bugs)
Version: 5.8.3
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-09 10:04 UTC by luisfe
Modified: 2019-09-19 20:53 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Triggerring the issue (28.48 KB, image/png)
2018-10-26 21:52 UTC, Joan
Details
Error shown on screen (19.24 KB, image/png)
2018-10-26 21:53 UTC, Joan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description luisfe 2017-10-09 10:04:33 UTC
In kaddressbook I used to create a tree of contact folders. I cannot do that anymore with version 5.6.1 (Kde Applications 17.08.1 compiled from sources in Debian testing).

Steps.

1. Create a new empty user
2. In kaddressbook right-click in Personal Contacts
3. Select Add Address Book folder...
4. Add the name of the new subfolder

I get a complaint:

Could not create address book folder: Unable to append mimetype for collection as resourceId: 4

while I expect to create a new subfolder of Personal Contacts
Comment 1 Frank Steinmetzger 2017-11-26 14:27:56 UTC
Here’s a me too:

I have a groupdav addressbook which I sync against a radicale server. My Android client works, and so does the main PC. But on my laptop the addressbook has been shown empty for a while now. Both run the same version of KDE and Plasma, currently 17.04.3 and 5.10.5.

So today I deleted the address book and wanted to create it fresh, which resulted in the same error message “Unable to append mimetype for collection as resourceId”. I found this bug by web-searching for the error message.

When I created the resource directly within Akonadiconsole (DAV groupware resource, manually configured), the addressbook was found on the server and I was able to add it. It also showed up in Kaddressbook, but the content was empty again.
Comment 2 Joan 2018-10-26 21:52:35 UTC
Created attachment 115913 [details]
Triggerring the issue
Comment 3 Joan 2018-10-26 21:53:20 UTC
Created attachment 115914 [details]
Error shown on screen
Comment 4 Joan 2018-10-26 21:55:47 UTC
I am using kubuntu 18.10, with version 5.8.3, and the error is still happening.
Comment 5 Taker 2019-01-23 09:08:51 UTC
I am using version 5.10.0 On OpenSUSE Tumbleweed (VERSION="20190115") and the issue is still here as well.

Steps to Recreate:

1. Open KAddressBook
2. Right click on the folder 
3. Select "Add Address Book Folder.." from the menu (First entry)
4. Enter a name for the new folder in the window that pops up
5. You will get the same error on the screen (Could not create address book folder: could not create collection [name entered in step 4], resourceId:4)

I have managed to find a work around for the time being thanks to user @zahnd on KDE Forums (https://forum.kde.org/viewtopic.php?f=215&t=143208)

Work around:

1. Go to the directory which stores the KAddressBook contacts
1.1 You can find the address to this directory by right clicking on the Main folder in the KAddressBook > Address Book Properties
2. Create the folders you want
3. Come back to KAddressBook
4. Right click on the main folder and click Address Book Properties
5. Simply click the Okay Button to close the window
6. Your newly created folder will show up in KAddressBook.
Comment 6 Hans-Peter Eck 2019-09-19 20:53:18 UTC
For me it is the same problem still remaining.

In the end, my workaround is switching to Mozilla Thunderbird and purging kontact completely from my systems.