Describe the bug
I've been encountering an issue where the Day Planner plugin becomes unresponsive. The timeline doesn't change, task notifications are not displayed, settings toggles don't change when clicked, etc.
I checked the developer console and saw that an exception was being thrown in getNotificationKey(), where task.location.path was undefined:
I managed to catch the exception in the debugger, and when I inspected the task variable, I saw that it did not have a member named location (I think a TaskLocation), hence the exception. I did notice that it was an icalEvent (from an Office 365 Exchange remote calendar).
To Reproduce
Steps to reproduce the behavior:
(this is a guess)
Configure an external remote calendar
Start Obsidian
At some point (when scheduled task begins, I believe), an exception is thrown and Day Calendar becomes unresponsive
Expected behavior
Plugin continues to operate correctly
Additional context
I think the bug may be in the icalEventToTask() function, as location is never set.
Describe the bug I've been encountering an issue where the Day Planner plugin becomes unresponsive. The timeline doesn't change, task notifications are not displayed, settings toggles don't change when clicked, etc.
I checked the developer console and saw that an exception was being thrown in getNotificationKey(), where task.location.path was undefined:
I managed to catch the exception in the debugger, and when I inspected the task variable, I saw that it did not have a member named location (I think a TaskLocation), hence the exception. I did notice that it was an icalEvent (from an Office 365 Exchange remote calendar).
To Reproduce Steps to reproduce the behavior: (this is a guess)
Expected behavior Plugin continues to operate correctly
Additional context I think the bug may be in the icalEventToTask() function, as location is never set.