Skip to content

Bug: filtering by property does not work #179

@DLade

Description

@DLade

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions