Bug 145900 - strange handling of vcard-directory as address-ressource
Summary: strange handling of vcard-directory as address-ressource
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kab3
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Debian stable Linux
: NOR normal
Target Milestone: ---
Assignee: Tobias Koenig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-24 15:45 UTC by Olivier Vitrat
Modified: 2009-08-05 16:33 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Vitrat 2007-05-24 15:45:41 UTC
Version:            (using KDE KDE 3.5.5)
Installed from:    Debian stable Packages

Reported in Debian BTS at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=302240

Ok, here's the situation:
I have a directory filled with some vcards. I want KAdressbook (KAB) to
handle this directory like a real adressbook, so i import it via: add
adressbook -> directory -> "read-only unchecked!" and format: vcard.

The import works well, all contacts are correctly shown.

Now I edit a contact but instead of changing the actual file of this
specific contact, KAB creates a new one (in this directory) so my
contact appears twice! I think, this is not the behaviour most users
expect.
Comment 1 Tobias Koenig 2007-05-24 17:08:50 UTC
On Thu, May 24, 2007 at 01:45:42PM -0000, Olivier Vitrat wrote:
Hi Olivier,

> I have a directory filled with some vcards. I want KAdressbook (KAB) to
> handle this directory like a real adressbook, so i import it via: add
> adressbook -> directory -> "read-only unchecked!" and format: vcard.

That's the wrong way, you should never modify the vcard directory
KAddressBook is working on manually or give KAddressBook an already
existing one.

KAddressBook will keep the vcards in such a Directory AddressBook by its
own schema, e.g. the files have the UID of the contact as name, so when
you rename the files or store names with random names there KAddressBook
won't work correctly.

To fix this problem for you to the following:

1) Create an _empty_ directory
2) Create a Directory AddressBook which points to this directory
3) Import the contacts from your old directory _via_ KAddressBook into
   the Directory AddressBook

Ciao,
Tobias
Comment 2 Tobias Koenig 2009-08-05 16:33:33 UTC
The development of the old KAddressBook will be discontinued for KDE 4.4.
Since the new application has the same name, but a completly new code base we close all bug reports against the old version and ask the submitters to resend there reports against the new product.