Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-31328

Missing support for the recursive resolving of parameters in the query field type

    XMLWordPrintable

    Details

      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

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            adam.wojs@ibexa.co Adam Wójs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: