Bug 166475

Summary: Distribution lists not saved
Product: [Applications] kdepimlibs Reporter: Thomas McGuire <mcguire>
Component: kabcAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: arthur, glua, kkerman, linux, martin.tlustos, nsoranzo, pete, renatoferrari
Priority: NOR    
Version: 4.1   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Thomas McGuire 2008-07-13 22:44:47 UTC
Version:            (using Devel)
Installed from:    Compiled sources
OS:                Linux

When creating distribution lists in KAddressbook or in the composer in KMail, they are not saved to disk when using a directory resource.

The problem seems to be in ResourceDir::save(), which iterates over mAddrMap, but does not iterate over mDistListMap at all.

ResourceDir is in kabc/plugins/dir/resourcedir.cpp.
mAddrMap and mDistListMap are defined in kabc/resource.h.
Comment 1 Thomas McGuire 2008-07-13 22:53:53 UTC
Commits 720651 and 720793 seem to be suspicious (as in: this was never changed for the dir resource, only for the file resource).
Comment 2 plabo 2009-05-15 13:57:50 UTC
I can confirm this bug (using suse factory KDE 4.2; KAddressbook 4.1)
Comment 3 Nicola Soranzo 2009-08-25 16:12:33 UTC
Still present in KDE 4.3.0
Comment 4 Martin Tlustos 2009-11-27 09:41:44 UTC
Same here with Kubuntu 9.10... Was gone somewhere in between (in Kubuntu 9.04 I had no problems), but now it is back...
Comment 5 Ferrari Renato Maria 2010-06-10 08:00:36 UTC
Same here with suse factory KDE 4..3.5, also after update completed yesterday.
OS: Linux, openSUSE 11.2
KDE, Kontact and Kaddressbook: 4.3.5
Kmail: 1.12.4
Comment 6 Georg 2011-05-04 22:00:12 UTC
Bug is still present in KDE 4.6.0 Kontact 4.4.10
OS: OpenSuse 11.4
Comment 7 Denis Kurz 2016-09-24 20:56:07 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kdepim (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 8 Denis Kurz 2017-01-07 22:36:31 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.