Details
-
Improvement
-
Resolution: Unresolved
-
Medium
-
None
-
None
-
eZ Publish 4.6
Description
Using an incorrect 'status' parameter for certain collaboration fetch functions will cause a fatal error.
The expected status is parameter is an array() of possible values, but using true() will generate an sql query containing the following:
WHERE ezcollab_item.status IN ( ) AND
As this query is not valid, a fatal error will occur.
Steps to reproduce:
Create and use a fetch function like the following:
fetch("collaboration","item_count", hash("status", true()) )