Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught Error task.text.split is not a function and freezing day planner timeline when using remote ics calendars #465

Open
ckpinguin opened this issue May 28, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@ckpinguin
Copy link

Describe the bug
Day Planner Timeline freezes after trying to get remote ics calendar.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Day Planner Timeline
  2. Click on 'Manually sync with remote calendars' or wait some time
  3. Click the „left“ or „right“ icon in Day Planner Timeline => Daily notes still switching, but Timeline displays stays frozen, even options overlay not working anymore.
  4. See error in console:
    [ task.text.split is not a function](plugin:obsidian-day-planner:43772 Uncaught (in promise) TypeError: task.text.split is not a function)

Expected behavior
Day Planner Timeline component should not freeze even when there are problems with remote calendar sync

** Workaround **
Remove all remote calendars and restart Obsidian, which is kind of not an option

@ckpinguin ckpinguin added the bug Something isn't working label May 28, 2024
@ckpinguin ckpinguin changed the title Console error: task.text.split is not a function while freezing day planner timeline (just after loading remote calendars) Console error: task.text.split is not a function and freezing day planner timeline when using remote ics calendars May 28, 2024
@ckpinguin ckpinguin changed the title Console error: task.text.split is not a function and freezing day planner timeline when using remote ics calendars Uncaught Error task.text.split is not a function and freezing day planner timeline when using remote ics calendars May 28, 2024
@ckpinguin
Copy link
Author

I did some testing with all my calendar sources separately: The root cause of my specific problem was that one of my 3 Proton Calendar exports had some quirky repeating tasks that were imported there via Outlook ICS file ... I deleted that calendar and the other 2 still work flawlessly. I still think that erroneous ICS sources in the component should be handled so that it is not freezing, but consider the priority low from my point of view.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant