When linking the Reservation to an event, if the event is deleted from the Calendar page, it causes an error when trying to view that Reservation through the Room Management detail page. It is throwing a null reference since the Reservation thinks the event still exists. An idea to fix this is to delete the event id from record and still load the reservation details, with the possibility of popping up a message saying the event was deleted and has been unlinked from the Reservation. The user should link to a new event if there is one.
Steps to Reproduce
Create a reservation.
Link to an existing Calendar Event or create a new one.
Delete the Calendar Event from the Calendar page from the internal site
Go back to the Reservation's detail page and see the error.
Prerequisites
Description
When linking the Reservation to an event, if the event is deleted from the Calendar page, it causes an error when trying to view that Reservation through the Room Management detail page. It is throwing a null reference since the Reservation thinks the event still exists. An idea to fix this is to delete the event id from record and still load the reservation details, with the possibility of popping up a message saying the event was deleted and has been unlinked from the Reservation. The user should link to a new event if there is one.
Steps to Reproduce
Expected behavior:
Access to the reservation details
Actual behavior:
Null Reference Error page
Versions