Bug 436693 - akonadi_icaldir_resource does not write events/calender entries to directory
Summary: akonadi_icaldir_resource does not write events/calender entries to directory
Status: CONFIRMED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: ICal dir resource (show other bugs)
Version: 5.17.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-06 16:03 UTC by Bernhard E. Reiter
Modified: 2023-08-24 16:06 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard E. Reiter 2021-05-06 16:03:14 UTC
SUMMARY
The "iCal Calendar Folder" resource does not save the iCalender files to the configured path (as it is expected).

STEPS TO REPRODUCE
1. In Kontact add a new calender resource, select "iCal Calendar Folder"
2. Configure it to use path in your home directory like "/home/bern/kontact/locally-saved-events"
3. Add a few events in kontact (to this calender resource)
4. Use kontact a while, sync the resource. 
5. Shutdown kontact / akonadi

OBSERVED RESULT
find /home/bern/kontact/locally-saved-events 
does not find any files

EXPECTED RESULT
Each calender entry should give an iCalender file in this directory.


SOFTWARE/OS VERSIONS
Operating System: openSUSE Leap 15.2
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.81.0
Qt Version: 5.15.2
Kernel Version: 5.3.18-lp152.72-default
OS Type: 64-bit
Graphics Platform: X11

rpm package: kdepim-runtime-21.04.0-lp152.255.1.src.rpm

ADDITIONAL INFORMATION
akonadiconsole shows that there are events in the resource and the
resource itself is configured as is, no problems visible.
The mysql backend is used as database for akonadi.
Comment 1 Bernhard E. Reiter 2021-05-06 16:11:34 UTC
The problem was also seen with kdepim-runtime-20.12.1-lp152.245.2.x86_64
which was 5.16.x . For the test I've createda fresh resource.
Comment 2 sourcemaker 2023-08-07 16:06:14 UTC
I can confirm this issue.
Comment 3 Bug Janitor Service 2023-08-23 15:22:52 UTC
A possibly relevant merge request was started @ https://invent.kde.org/pim/kdepim-runtime/-/merge_requests/127
Comment 4 Daniel Vrátil 2023-08-24 16:06:53 UTC
Git commit 71c37db994ccb4877c9220e200b2517c5fd5b1d4 by Daniel Vrátil.
Committed on 23/08/2023 at 17:22.
Pushed by dvratil into branch 'release/23.08'.

icaldirresource: fix directory not being configured on start

Fix a regression from porting to config plugin - the updated
configuration was not reloaded from file prior to attempting
to create/load the configured directory.
FIXED-IN: 5.24.1

M  +7    -1    resources/icaldir/icaldirresource.cpp

https://invent.kde.org/pim/kdepim-runtime/-/commit/71c37db994ccb4877c9220e200b2517c5fd5b1d4