[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 87163] kaddressbook empties resource on some conditions (data
From:       Michael Reiher <michael.reiher () gmx ! de>
Date:       2005-11-21 22:14:31
Message-ID: 20051121221431.1469.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=87163         




------- Additional Comments From michael.reiher gmx de  2005-11-21 23:14 -------
I changed my patch (see attachment) a little to handle the case where an 
intentionally empty addressbook(or rather resource) is about to be saved. So 
that it still gets saved desipte ending up with an empty file. My thought for 
the problem of loosing data was, that there is actually something to save (as 
my addressbook is not empty) but saving fails for some reason and the file 
ends up empty. However now with the changes, I found the the resource appears 
to be empty! At least that's what my check yields. And as the saving routine 
uses the same code (I took it from there), nothing is being saved! Also 
during my last KDE shutdown I shortly saw a message box. I can't exactly 
remember what it said, but it was something along the lines "error: resource 
std.vcf is locked by korgac". So it appears to me that there is something 
wrong with locking? And that the resource is saved even though it is locked? 
And thus it saves the enries it can't get, i.e. none?

CCing to kde-pim (I'm not subscribed), as this seems a bit grave and there was 
no reaction yet. Maybe a solution can still be found for 3.5?

Greets 

Michael


Created an attachment (id=13586)
 --> (http://bugs.kde.org/attachment.cgi?id=13586&action=view)
resourcefile2.diff
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic