-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
None
-
Affects Version/s: 7.11.2, 7.13.0
-
Component/s: Apps - Team Calendar
-
None
-
2
-
Severity 3 - Minor
Issue Summary
Events from an imported .ics into Microsoft Outlook cannot be moved to another calendar and subscribed CalDav events in Outlook can also not be moved.
Steps to Reproduce
- Export a calendar from Team Calendar to .ics
- Import the .ics file into Microsoft Outlook (With CalDav synchroniser plugin)
- Try to move an event from the imported calendar in Outlook to another subscribed calendar
- Subscribe with CalDav from Outlook with the CalDavSync plugin and create an event
- It syncs correctly with Team Calendars
- Try and move the even from either Outlook or Confluence to another calendar and it will fail
Expected Results
The event can be moved between calendars as per normal.
Actual Results
The below exception is thrown in the log file:
2021-09-02 14:18:15,595 DEBUG [http-nio-9011-exec-5] [extra.calendar3.calendarstore.AbstractCalendarDataStore] getEvent Could not load event with following predicate: subcal id = 5d44676e-bc47-48ca-81db-5121e4cced8b, vEventUid = 040000008200E00074C5B7101A82E0080000000080B144D9EB68D7010000000000000000100000003865C76FF069C946B752C2F4F930027F, recurrenceId = null 2021-09-02 14:18:15,596 DEBUG [http-nio-9011-exec-5] [confluence.extra.calendar3.DefaultCalendarManager] toSubCalendarEvent VEVENT to transform is: null 2021-09-02 14:18:15,597 ERROR [http-nio-9011-exec-5] [confluence.extra.calendar3.DefaultCalendarManager] toSubCalendarEvent Exception while calling toSubCalendarEvent -- referer: <BASEURL>/calendar/mycalendar.action | url: /rest/calendar-services/1.0/calendar/events.json | traceId: a27076b943abe484 | userName: abc java.lang.NullPointerException at com.atlassian.confluence.extra.calendar3.DefaultCalendarManager.toSubCalendarEvent(DefaultCalendarManager.java:774) ... 2021-09-02 14:18:15,602 DEBUG [http-nio-9011-exec-5] [calendar3.rest.ExceptionMappers.GeneralExceptionMapper] getResponseError Calendar exception -- referer: <BASEURL>/calendar/mycalendar.action | url: /rest/calendar-services/1.0/calendar/events.json | traceId: a27076b943abe484 | userName: abc com.atlassian.confluence.extra.calendar3.exception.CalendarException: calendar3.error.loadevents.notexist
Workaround
Not so much a workaround but if possible when creating from Outlook create directly in the correct calendar. It seems to default to the personal calendar.