Details
-
Bug
-
Resolution: Unresolved
-
Low
-
4.6.7
-
None
-
None
-
Yes
Description
- Use Ibexa Experience 4.6.7 with Solr
- Create a Location Query with ParentLocationId criterion and pass an empty array to that criterion
- or add the controller form attached file
- run the query (open /test route when using the attached file})
Result
An exception is thrown because the Solr query is invalid.
Expected result
An exception is thrown saying that passing an empty array to the criterion is not allowed.
Note
It is probably relevant for all criteria supporting arrays.
An alternative would be to ignore such criteria when generating the query.