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

As a Developer I want to drop support for "Criteria" element in REST Input Query parser

    XMLWordPrintable

    Details

      Description

      Using the Criteria element in REST input query (search view) payload has been deprecated since eZ Platform 1.6.
      An example of deprecated usage:

      <ViewInput>
        <identifier>testCreateView</identifier>
        <Query>
          <Criteria>
            <ContentTypeIdentifierCriterion>folder</ContentTypeIdentifierCriterion>
          </Criteria>
          <limit>10</limit>
          <offset>0</offset>
        </Query>
      </ViewInput> 

      Instead of Criteria either Query or Filter should be used.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            andrzej.longosz@ez.no Andrzej Longosz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: