Open ASalvail opened 4 months ago
Will check and there’s a potential fix to release in #880
Sorry I can't reproduce neither in table cell date input nor the metadata editor. Though, there are some problem with current date input components. Maybe this is system related.
With the newly added beta versions (download manually or use BRAT, see #883 and https://github.com/marcusolsson/obsidian-projects/releases), could you confirm if the problem persists? Or, in about one/two weeks there will be a new version and you can check the problem again. Before that I will mark the issue as need-investigation
.
I'll wait for the release of the new version and follow-up. Thanks for keeping me up-to-date!
What happened?
Every time I manually update a front-matter date, the whole Projects UI freezes: I can't switch to another view, if I move a card in kanban view, the card hangs in the air and never disappears unless I quit Obsidian. The following stack trace also appears in the console which seems to be related to parsing a date.
I dug a bit deeper and it seems like the exception happens when the date is being entered. For example, to enter
2024-05-30
, I would first enter2024-0
. Before I can write the digit 5, the date is then2024-00
, which throws a range exception and hangs the Project process.What did you expect to happen?
For that exception to be handled in a way that doesn't freeze the whole plugin.
How can we reproduce it (as minimally and precisely as possible)?
Have a card linked to a front-matter with date type item. Set the item manually in a way that forces a temporary illegal date to be entered (e.g.
2024-00
).Anything else we need to know?
No response
Plugin version
1.17.3
Obsidian version
1.5.12
OS
macOS