When importing ldif data, groups are imported as ordinary contacts. Seems that the line "objectclass: groupOfNames" is not taken into account Reproducible: Always Steps to Reproduce: 1.File -> Import -> Import ldif file, select file ldif file and AddressBook 2.Select imported group 3. Actual Results: Icon and contextual menu refer to contact, not to group Expected Results: Customary group icon and contextual menu OpenSUSE 13.2 KAddressBook 4.14.5
Created attachment 91628 [details] testcase
I confirm it too.
Git commit 4ab4ed4f3cc674046bde11c6ccfb388f0ca76e9b by Montel Laurent. Committed on 19/03/2015 at 06:36. Pushed by mlaurent into branch 'KDE/4.14'. Minor optimization. group is not a category. It was a very old code... M +3 -3 kabc/ldifconverter.cpp http://commits.kde.org/kdepimlibs/4ab4ed4f3cc674046bde11c6ccfb388f0ca76e9b
It needs a lot of work for supporting group. I will work on.
Git commit 9bea3bea03051898a82f69e88ef0f729fe420085 by Montel Laurent. Committed on 24/03/2015 at 07:33. Pushed by mlaurent into branch 'KDE/4.14'. Fix bug Bug 345319 - importing ldif data fails to recognize groups FIXED-IN: 4.14.7 M +37 -5 kabc/tests/ldifconvertertest.cpp M +1 -0 kabc/tests/ldifconvertertest.h http://commits.kde.org/kdepimlibs/9bea3bea03051898a82f69e88ef0f729fe420085
Git commit 10c62809e15cf7a08861d4970eb499e9fe9de5de by Montel Laurent. Committed on 24/03/2015 at 12:47. Pushed by mlaurent into branch 'KDE/4.14'. Fix Bug 345319 - importing ldif data fails to recognize groups FIXED-IN: 4.14.7 M +6 -0 kaddressbook/xxport/shared/xxport.h M +13 -7 kaddressbook/xxport/xxportmanager.cpp M +1 -1 kaddressbook/xxport/xxportmanager.h http://commits.kde.org/kdepim/10c62809e15cf7a08861d4970eb499e9fe9de5de