Bug 178984 - Entries in local directory resource re-appear after they have been deleted
Summary: Entries in local directory resource re-appear after they have been deleted
Status: RESOLVED FIXED
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-28 20:34 UTC by Stefan Kebekus
Modified: 2009-03-12 17:24 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Contents of the file "entry1" that cannot be deleted (339 bytes, text/calendar)
2008-12-28 20:36 UTC, Stefan Kebekus
Details
Contents of the file /home/devel/.kde4/share/config/kresources/calendar/stdrc (326 bytes, text/plain)
2008-12-28 20:37 UTC, Stefan Kebekus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Kebekus 2008-12-28 20:34:32 UTC
Version:           4.1.0 (using 4.1.3 (KDE 4.1.3) "release 4.9", openSUSE 11.1)
Compiler:          gcc
OS:                Linux (i686) release 2.6.27.7-9-default

Dear KOrganizer developers,

I use a local directory as my standard resource in korganizer. For this, the directory (in my test-setup this is "/home/devel/PIM-Test" contains a file ("entry1") which is properly shown in the korganizer calendar view. When I delete the entry in the calendar view, the item disappears, but re-appears when korganizer is closed and re-started. In effect, this means that the item cannot be deleted from korganizer.

A first inspection shows that the file "entry1" never gets deleted, even if I chose "save" from the context menu of the resource.

A bugfix --backported to the KDE 4.1 series-- would be a great help, because the bug effectively prevents me from using korganizer in collaboration at work.

Thank you for an otherwise great program.

Best,

Stefan Kebekus.
Comment 1 Stefan Kebekus 2008-12-28 20:36:02 UTC
Created attachment 29704 [details]
Contents of the file "entry1" that cannot be deleted
Comment 2 Stefan Kebekus 2008-12-28 20:37:19 UTC
Created attachment 29705 [details]
Contents of the file /home/devel/.kde4/share/config/kresources/calendar/stdrc
Comment 3 Christophe Marin 2008-12-28 21:12:27 UTC
Confirmed in trunk (rev 902466)
Comment 4 Sergio Martins 2009-03-12 17:22:59 UTC
SVN commit 938673 by smartins:

After deleting, doSave was recreating the file again, so incidences never were deleted.

BUG: 178984


 M  +23 -3     resourcelocaldir.cpp  
 M  +2 -0      resourcelocaldir.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=938673
Comment 5 Sergio Martins 2009-03-12 17:24:22 UTC
> A bugfix --backported to the KDE 4.1 series-- would be a great help, because
> the bug effectively prevents me from using korganizer in collaboration at work.

I will backport to KDE 4.2 series