Summary: | Error while trying to create calendar item. Error was: Invalid parent collection | ||
---|---|---|---|
Product: | [Applications] korganizer | Reporter: | Paul Stansell <paulstansell> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | bribbers, dvratil, sephiroth_pk |
Priority: | NOR | ||
Version: | 5.22.3 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Screenshot of error message |
Hi, thanks for the report. I can't reproduce it locally just by following your description, could you please tell me a bit more? 1) Could you please specify in which view (agenda/month view/etc.) does this happen? 2) Do you have multiple calendars, or just a single one? 3) Do you have some calendar marked as default? 4) What kind of calendar is it (ical, DAV, Google, etc.?) If you have more than one calendar, you should get a dialog that lets you select the calendar to paste into. If you have only one calendar, the event should automatically get pasted into it. Could you please run KOrganizer from terminal with the following command: QT_LOGGING_RULES="*=true;qt.*=false" korganizer then try to reproduce the bug and provide here the log that's printed to the console? (just changing status) Hello Daniel, Thanks so much for replying. > 1) Could you please specify in which view (agenda/month view/etc.) does this happen? The reported problem was for agenda day view, but I just tried with week and month view and when trying to paste an event I got the same error message as I reported before > 2) Do you have multiple calendars, or just a single one? I have two calendars (in addition to the Birthdays one). One is the default one and active, the other is "hidden" (or not displayed, so its entries are not displayed). 3) Do you have some calendar marked as default? Yes, the one I tried to paste to. 4) What kind of calendar is it (ical, DAV, Google, etc.?) ical (with file name .ics) > If you have more than one calendar, you should get a dialog that > lets you select the calendar to paste into. If you have only one calendar, > the event should automatically get pasted into it. I'm familiar with that dialog, but I'm not seeing it when I paste as I'm only viewing the default calendar. > Could you please run KOrganizer from terminal with the following command: > > QT_LOGGING_RULES="*=true;qt.*=false" korganizer > > then try to reproduce the bug and provide here the log that's printed to the console? I exited and restarted korganizer again from the console. I tried to add a new event, but it wouldn't let me. (This is different from the problem I had before where I *could* add new events, but I couldn't copy and paste events.) When I try to add a new event the pop-up dialogue window appears, I can write "test event" in the summary field, but when I click either Ok or Apply, nothing happens except all the options Ok, Apply and Cancel become grey-out. To kill the pop-up I have to click the X on the top right of the window. It then asks me (in another pop-up window) if I want to Cancel Editing or not. I can cancel and both pop-up windows disappear and my event is not added to the calendar. Here is the output from the console: org.kde.pim.akonadicore: connectToServer "/run/user/1000/akonadi/akonadiserver-ntf.socket" Connection to speech-dispatcher failed Connection to speech-dispatcher failed Connection to speech-dispatcher failed Connection to speech-dispatcher failed org.kde.pim.incidenceeditor: checkDirtyStatus called on an invalid incidence org.kde.pim.calendarsupport: creating CalendarSupport::FreeBusyCalendar(0x558693e660) org.kde.pim.incidenceeditor: org.kde.pim.incidenceeditor: Loading item -1 ; parent -17437 ; storage -1 org.kde.pim.akonadicore: Akonadi::Monitor(0x5586c33e60, name = "TagWidgetMonitor") Connected to notification bus org.kde.pim.akonadicore: Akonadi::Monitor(0x5586c33e60, name = "TagWidgetMonitor") Subscribing as " "TagWidgetMonitor - 367333162592" " org.kde.pim.incidenceeditor: free slot calculation: invalid range. range( 0 ) / mSlotResolutionSeconds( 900 ) = 0 org.kde.pim.calendarsupport: deleting CalendarSupport::FreeBusyCalendar(0x558693e660) Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! Sorry, but I don't know what additional info you expect from me. This seems to be the same as https://bugs.kde.org/show_bug.cgi?id=485070 and https://bugs.kde.org/show_bug.cgi?id=470517 I can reproduce when adding calendar entries for a NextCloud (Caldav) source. *** This bug has been marked as a duplicate of bug 470517 *** |
Created attachment 168268 [details] Screenshot of error message SUMMARY Copying an old event, or a newly created event, seems to work, but when I try to paste it in somewhere else in the calendar I get the error message "Error while trying to create calendar item. Error was: Invalid parent collection". STEPS TO REPRODUCE 1. Copy an event already in a calendar, or create a new "test" event and copy that (can use C-c or Right-click-Copy) 2. Try to paste the event somewhere else in the same calendar (using C-v or Right-click-paste) 3. A popup dialog box appears containing the following message: "Error while trying to create calendar item. Error was: Invalid parent collection" OBSERVED RESULT The error message attached. EXPECTED RESULT Successful paste of event. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Debian Bookworm 6.6.20+rpt-rpi-v8 (64-bit) KDE Plasma Version: 5.27.5 KDE Frameworks Version: 5.103.0 Qt Version: 5.15.8 ADDITIONAL INFORMATION The message "Invalid parent collection" does not help me understand the problem or where the error might be.