Closed
Description
Environment
- Platform version: 7.1.3
- Addon version: 7.1.1
Description of the bug or enhancement
- Minimal reproducible example
Send a request to the entity search endpoint with the filter
parameter containing an empty conditions
array:
filter: {"conditions":[]}
For example:
GET http://localhost:8080/petclinic/rest/v2/entities/petclinic_Owner/search?view=_local&sort=-updateTs&limit=10&offset=0&filter=%7B%22conditions%22%3A%5B%5D%7D&returnCount=true
- Expected behavior
Same as when making a request without a filter
parameter: server returns records without applying filtering.
- Actual behavior
Server responds with 500 Internal Server Error