You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When doing a GET device request using ?fetchAttributes=connection&fetchAttributes=lastEvent as parameters, the response's body doesn't contain the "type" field of both connection and lastEvent.
Requesting them using their own requests (/{scopeId}/deviceconnections/{connectionId} and /{scopeId}/devices/{deviceId}/events/{deviceEventId}) do return you the "type" field.
To Reproduce
Steps to reproduce the behavior:
Request a device using /{scopeId}/devices/{deviceId} and adding the parameters ?fetchAttributes=connection&fetchAttributes=lastEvent after the deviceId.
Inspect the response's body and find the "connection" and "lastEvent" fields.
See error
Expected behavior
The response's body containing all the fields (including the "type").
Screenshots
If applicable, add screenshots to help explain your problem.
GET device's body:
GET connection's body:
GET event's body
Version of Kapua
1.5.2
Type of deployment
[X ] Docker
[ ] Openshift (in its variants)
[ ] Others
Main component affected
[ ] Console (in case of console please report info on which browser you encountered the problem)
[X] REST API
[ ] Message Broker
[ ] - Others
The text was updated successfully, but these errors were encountered:
Describe the bug
When doing a GET device request using ?fetchAttributes=connection&fetchAttributes=lastEvent as parameters, the response's body doesn't contain the "type" field of both connection and lastEvent.
Requesting them using their own requests (/{scopeId}/deviceconnections/{connectionId} and /{scopeId}/devices/{deviceId}/events/{deviceEventId}) do return you the "type" field.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The response's body containing all the fields (including the "type").
Screenshots
If applicable, add screenshots to help explain your problem.
GET device's body:
GET connection's body:
GET event's body
Version of Kapua
1.5.2
Type of deployment
[X ] Docker
[ ] Openshift (in its variants)
[ ] Others
Main component affected
[ ] Console (in case of console please report info on which browser you encountered the problem)
[X] REST API
[ ] Message Broker
[ ] - Others
The text was updated successfully, but these errors were encountered: