server icon indicating copy to clipboard operation
server copied to clipboard

Bug: filtering by property does not work

Open DLade opened this issue 5 years ago • 1 comments

Filtering a Thing by a property results in BadRequest.

eg. http://scratchpad.sensorup.com/OGCSensorThings/v1.0/Things?$filter=properties/hello%20eq%20%27world%27 or http://scratchpad.sensorup.com/OGCSensorThings/v1.0/Things?$filter=properties%2Fhello%20eq%20%27world%27

{
  "errorId": "f4a4818f-f4e4-46c9-abe1-fbde97b893f9",
  "code": "BAD_REQUEST",
  "message": "Invalid query. Invalid property.",
  "stclass": "com.sensorup.iot.model.ErrorResponse",
  "baseURL": "http://scratchpad.sensorup.com/OGCSensorThings/v1.0"
}

note: At FROST server this query works without any problems.

DLade avatar Nov 28 '20 19:11 DLade

Maybe you have the same problem as I had some months ago. See https://github.com/gost/server/issues/176

derkod avatar Feb 03 '21 13:02 derkod