Details
-
Bug
-
Resolution: Fixed
-
Medium
-
None
-
None
Description
Steps to reproduce
1. Create Query Type which expect array as one of the parameters e.g. https://gist.github.com/adamwojs/58db48b738b31ef69dd2d36fc564289b
2. Create Content Type "Bar" and add ezcontentquery field with the following settings:
- QueryType: "Foo"
- Parameters:
ids: [4, 5, 6]
4. Create and publish content of type "Bar"
Actual behaviour
Argument 1 passed to EzSystems\EzPlatformQueryFieldType\API\QueryFieldService::resolveExpression() must be of the type string, array given, called in /home/awojs/eZ/ezplatform-with-ezql/vendor/ezsystems/ezplatform-query-fieldtype/src/API/QueryFieldService.php on line 88
Expected behaviour
Parameters should be resolved correctly