| Summary: | Merkuro allows event creation to silently fail if too many reminders are added | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] Akonadi | Reporter: | Joe E <jenders97> |
| Component: | Google Resource | Assignee: | kdepim bugs <pim-bugs-null> |
| Status: | REPORTED --- | ||
| Severity: | normal | CC: | carl, dvratil |
| Priority: | NOR | ||
| Version First Reported In: | 6.5.2 | ||
| Target Milestone: | --- | ||
| Platform: | Fedora RPMs | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
SUMMARY If you create an event in a google calendar using Merkuro (also occurs in KOrganizer) and add too many reminders (google calendar only allows 5 reminders), the event generation will fail without telling you. A log is created (see below), but no error is shown in either program. I tested and event creation is successful if you use 5 or less reminders. The google calendar web client just doesn't allow you to create more than 5 reminders. I created a bug in akonadi_google_resource, but they closed it as not a bug, so I thought I'd make it here. Please let me know if there is somewhere better for it. Thanks for your help! Log from journalctl that occurs when submitting event with > 5 reminders (with my email address removed): akonadi_google_resource[7244]: Bad request QUrl("https://www.googleapis.com/calendar/v3/calendars/MY_EMAIL[@]gmail[dot]com/events?sendUpdates=none&prettyPrint=false") , Google replied ' "{\"error\":{\"errors\":[{\"domain\":\"calendar\",\"reason\":\"eventRemindersCountExceedsLimit\",\"message\":\"The event exceeds the allowed maximum number of reminders.\"}],\"code\":400,\"message\":\"The event exceeds the allowed maximum number of reminders.\"}}" ' STEPS TO REPRODUCE 1. Create event on a google calendar in Merkuro 2. add more than 5 reminders OBSERVED RESULT Event is not created in google calendar, no error is shown, above log message is created EXPECTED RESULT Event is created in google calendar. SOFTWARE/OS VERSIONS Operating System: Fedora Linux 43 KDE Plasma Version: 6.5.2 KDE Frameworks Version: 6.19.0 Qt Version: 6.10.0 Kernel Version: 6.17.7-300.fc43.x86_64 (64-bit) Graphics Platform: Wayland Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor Memory: 32 GiB of RAM (31.0 GiB usable) Graphics Processor: AMD Radeon RX 7900 XT ADDITIONAL INFORMATION Please let me know if any more information is required.