SUMMARY The ical file resource should not allow new entries if it has no path in its config STEPS TO REPRODUCE Create an iCal file resource with no path configuration and add an entry to it OBSERVED RESULT Works fine EXPECTED RESULT An error SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 6.3.3 KDE Frameworks Version: 6.12.0 Qt Version: 6.8.2 Kernel Version: 6.13.7-arch1-1 (64-bit) Graphics Platform: Wayland Processors: 12 × AMD Ryzen 5 3600 6-Core Processor Memory: 33.6 GB of RAM Graphics Processor: NVIDIA GeForce RTX 3060 ADDITIONAL INFORMATION
This is primarily caused by https://bugs.kde.org/show_bug.cgi?id=502024 but it could also be caused by other changes to the config. My KDE PIM foo is super rusty but I think the issue might be in SingleFileResource. It probably should consider itself offline/broken if it has no file path/URL to work on. And maybe additionally make the root collection read-only? See also https://discuss.kde.org/t/korganizer-calendar-data-location/32036