server
server copied to clipboard
Bug: filtering by property does not work
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.
Maybe you have the same problem as I had some months ago. See https://github.com/gost/server/issues/176