Skip to content
Snippets Groups Projects
  • JediKev's avatar
    orm: Refetch Failure · eb4bda84
    JediKev authored
    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.
    eb4bda84