In previous versions of Dependency-Track, attempts to sort by fields that are not sortable were silently ignored. As of Alpine 2.2.6, an exception will be raised instead.
This PR handles those exceptions gracefully, and returns a response in RFC 9457 format to the client.
Description
Adds a JAX-RS
ExceptionMapper
forNotSortableException
, which was introduced in https://github.com/stevespringett/Alpine/pull/554.In previous versions of Dependency-Track, attempts to sort by fields that are not sortable were silently ignored. As of Alpine 2.2.6, an exception will be raised instead.
This PR handles those exceptions gracefully, and returns a response in RFC 9457 format to the client.
Addressed Issue
N/A
Additional Details
N/A
Checklist