obsidian-community / obsidian-full-calendar

Keep events and manage your calendar alongside all your other notes in your Obsidian Vault.
https://obsidian-community.github.io/obsidian-full-calendar/
MIT License
809 stars 111 forks source link

Unable to add event to the calender #507

Open Stefanuk12 opened 1 year ago

Stefanuk12 commented 1 year ago

Please check that this issue hasn't been reported before.

Expected Behavior

After pressing Save Event, for the event to show up.

Current behaviour

The menu does not disappear for saving the event, and the event does not appear within the calender.

JavaScript console output

Cannot read properties of undefined (reading 'id')
    at eval (plugin:obsidian-full-calendar:63617:53)
    at Generator.next (<anonymous>)
    at eval (plugin:obsidian-full-calendar:78:61)
    at new Promise (<anonymous>)
    at __async (plugin:obsidian-full-calendar:62:10)
    at submit (plugin:obsidian-full-calendar:63616:40)
    at eval (plugin:obsidian-full-calendar:63487:11)
    at Generator.next (<anonymous>)
    at eval (plugin:obsidian-full-calendar:78:61)
    at new Promise (<anonymous>)

Steps to reproduce

  1. Select a time on the calendar
  2. Enter a random name for the event
  3. Press Save Event

Calendar information

Which Operating Systems are you using?

Obsidian Version

1.4.14

Full Calendar Plugin Version

0.10.7

Checks

Possible solution

No response

Comments

After using a breakpoints, calendars is an empty array. The calendars are within the cache but filtered out, assuming because it isn't readable.

LunaeSomnia commented 2 months ago

Hi there. Any update on this issue? 😄