orm: Refetch Failure
This addresses an ORM failure where upon refetching an object from the database that no longer exists the system crashes hard. We use the `one()` method which expects one result, if there is no result it throws a `DoesNotExist` exception. We are not catching the exception properly which crashes osTicket and forces you to clear the session via browser or database.
Please register or sign in to comment