This PR fixes the implementation of AbstractKapuaResource.returnNotNullEntity(Object) to correctly produce a 404 HTTP error.
Related IssueNone
Description of the solution adopted
Fixed the thrown exception and added a new method to properly report a KapuaEntityNotFound exception when entity is null
This PR fixes the implementation of
AbstractKapuaResource.returnNotNullEntity(Object)
to correctly produce a 404 HTTP error.Related Issue None
Description of the solution adopted Fixed the thrown exception and added a new method to properly report a KapuaEntityNotFound exception when entity is
null
Screenshots None
Any side note on the changes made None