Summary: | ical Calendar resource cannot be created | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Akonadi | Reporter: | Philipp Schmidt <kde-bugs> |
Component: | ICal file resource | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | auxsvr, erweitern_yard0t, flinux, frapell, info, kde, m4rkusxxl, sgh |
Priority: | NOR | ||
Version: | 5.15.2 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/pim/kdepim-runtime/commit/f0ad4f921341baa50faee2bd4ec53ffcab7e048b | Version Fixed In: | 23.04.1 |
Sentry Crash Report: | |||
Attachments: |
ics with single event on aug. 17, 14:00 UTC+2
kdepim-runtime patch |
I also just verified this with the current Neon User Edition in a VM. Same behaviour as under my main system. When I check a new ics calendar in "Akonadi Console": In "Agents": Under "Configure->Configure Remotely...", the config does not match with what was configured in the add-dialog. (e.g. DisplayName and Path is empty.) Also checking in the "DB Browser" ind "collectiontable": The resource does not have a remoteId and the name is still the "akonadi_ical_resource_#". Is it the same for you, too? (In reply to Markus from comment #2) Yes, it's as you said, doesn't match. ICalConfig seems to correctly save the data, but ICalResource does not load it. Adding "mSettings->load();" to SingleFileResource::readFile seems to work. (Although I doubt its a clean solution.) We can confirm it for 5.15.2 in Debian Testing. As a workaround we found that in Akonadi Console - Agents you have to synchronize your iCal resource until in Akonadi Console - Browser the collection is duplicated. The duplicate now shows your items and saves your changes ... Created attachment 133604 [details] kdepim-runtime patch Missed to add the patch mentioned in comment#4. (In reply to Markus from comment #6) > Created attachment 133604 [details] > kdepim-runtime patch > > Missed to add the patch mentioned in comment#4. Would it possible to work with the devs upstream? maybe it's the solution for it :) Additionally the resource name is not correct either. Git commit f0ad4f921341baa50faee2bd4ec53ffcab7e048b by Daniel Vrátil. Committed on 22/04/2023 at 10:39. Pushed by dvratil into branch 'release/23.04'. Fix single-file-resources not reloading configuration at runtime FIXED-IN: 23.04.1 M +5 -0 resources/shared/singlefileresource/singlefileresource.h https://invent.kde.org/pim/kdepim-runtime/commit/f0ad4f921341baa50faee2bd4ec53ffcab7e048b *** Bug 358249 has been marked as a duplicate of this bug. *** *** Bug 355521 has been marked as a duplicate of this bug. *** |
Created attachment 130934 [details] ics with single event on aug. 17, 14:00 UTC+2 SUMMARY ical Calendar resource cannot be created from various sources, including file:/ and https:/. STEPS TO REPRODUCE 1. create minimal ical file and save it to disk (e.g. the attached testevent.ics) 2. Use Akonadi Console or KOrganizer to add a ical resource 3. select the prepared ics file and save OBSERVED RESULT Resource is created but events do not show up (details below) EXPECTED RESULT Events should show SOFTWARE/OS VERSIONS KDE Applications: 20.08 KDE Plasma Version: 5.19.4 KDE Frameworks Version: 5.73.0 Qt Version: 5.15 ADDITIONAL INFORMATION Apparently the file (or url in case of https) can't be loaded ('No file selected'). Output from terminal after activating ical debugging and issuing "akonadictl restart": org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f7f98087750) ) org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f7f98087750) identified as "AgentBaseChangeRecorder - 94152844984432" "No file selected." kf.kio.widgets.kdirmodel: protocol mismatch: "" vs "file" qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 2602, resource id: 14883497, major code: 40 (TranslateCoords), minor code: 0 "No file selected."