Bug 289565 - vcarddir resource: folder path lost, so changes not saved
Summary: vcarddir resource: folder path lost, so changes not saved
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kaddressbook
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR major
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-22 08:47 UTC by Jonathan Marten
Modified: 2017-01-07 21:38 UTC (History)
2 users (show)

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 Jonathan Marten 2011-12-22 08:47:51 UTC
Version:           unspecified (using Devel) 
OS:                Linux

KAddressBook is configured with a VCard Directory resource, which appeared initially to be working properly.

Somehow - not sure when or if there was a cause - the directory pathname went blank in the configuration.  This means that going to the configuration by either KAddressBook - context menu in "Address Book" column - Address Book Properties or akonadiconsole - Agents tab - context menu over resource - Configure Natively showed the "Directory" as blank.

The result of this was that changes or additions to the address book appeared to be accepted and displayed, but no VCards were being written to the cards directory.  There was no error message or any other indication that there was any problem.  The last modification time on any card in the directory was a month or so ago, but I had definitely made updates and added new contacts since then.

Setting the correct path in the configuration synchronised the resource with again no error message or any other indication, but recent updates were completely lost.  With this correction, any further updates or additions updated or created VCards there as expected.



Reproducible: Couldn't Reproduce

Steps to Reproduce:
As above.


Actual Results:  
Updates/additions were lost, with no error indication.


Expected Results:  
There should at least have been an error message that (a) the configuration was incomplete;  (b) it was not possible to update/create a VCard file.


This report may be more appropriate for Akonadi, please reassign if so.
Comment 1 Jonathan Marten 2011-12-22 16:37:15 UTC
There doesn't appear to be any error checking on file operations in
kdepim-runtime/resources/vcarddir/vcarddirresource.cpp
Comment 2 Denis Kurz 2016-09-24 20:52:03 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 kaddressbook (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 3 Denis Kurz 2017-01-07 21:38:23 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.