shweta-kumaran / CastNXTfall24

0 stars 1 forks source link

Event status is changed even when clicking cancel #18

Open JSalazar026 opened 2 weeks ago

JSalazar026 commented 2 weeks ago

As a producer of an event, you can go to the event details page for the event, and change the status of the event. There are 4 different statuses for an event: accepting, reviewing, finalized, and deleted. You can change the status of this event at any time. Consider the following event

Screenshot 2024-10-09 at 10 58 55 AM

When you click an event, a question appears on the screen, asking you to confirm your decision to change the status of the event. For this image, I wanted to change it to finalized at first, but decide to click the cancel button.

Screenshot 2024-10-09 at 10 59 11 AM

If you click cancel the event, and navigate to other tabs within the event details page, then the status will remain the same, as if you had never tried to change the status. However, if you navigate away to a different view, such as all events, then notice that the status for the event has been changed, even though the cancel button was clicked. Navigating to the event details of this event shows that the status has indeed been changed.

Screenshot 2024-10-09 at 10 59 23 AM Screenshot 2024-10-09 at 10 59 32 AM

The intended functionality should be that if you click the cancel button, then the status of the event should not change, even if you navigate away to a different view.