Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: filtering by property does not work #179

Open
DLade opened this issue Nov 28, 2020 · 1 comment
Open

Bug: filtering by property does not work #179

DLade opened this issue Nov 28, 2020 · 1 comment

Comments

@DLade
Copy link

DLade commented Nov 28, 2020

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.

@derkod
Copy link

derkod commented Feb 3, 2021

Maybe you have the same problem as I had some months ago. See #176

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants