Fantasy-Calendar icon indicating copy to clipboard operation
Fantasy-Calendar copied to clipboard

[BUG] A event can reference itself overflowing the stack and also prevents its own deletion.

Open TheKrush opened this issue 2 years ago • 1 comments

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:

  1. Create an event
  2. Use conditions to reference the event happening in X days.
  3. Save the event.
  4. See error

Expected behavior An event shouldn't be able to reference itself in conditionals.

Screenshots Screenshot 2022-03-16 10 58 43 PM

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.

TheKrush avatar Mar 17 '22 05:03 TheKrush

Closed in error

Haxxer avatar May 18 '22 18:05 Haxxer