Fantasy-Calendar
Fantasy-Calendar copied to clipboard
[BUG] A event can reference itself overflowing the stack and also prevents its own deletion.
Link to your calendar Please insert a link to your calendar here
Describe the bug If you make an event reference itself in the conditionals the stack overflows and prevents the calendar from loading at all. And you cannot delete the event because it's referencing itself.
To Reproduce Steps to reproduce the behavior:
- Create an event
- Use conditions to reference the event happening in X days.
- Save the event.
- See error
Expected behavior An event shouldn't be able to reference itself in conditionals.
Screenshots
Desktop (please complete the following information):
- Browser chrome
- Version 98.0.4758.107 (Official Build) (64-bit)
Additional context Add any other context about the problem here.
Closed in error