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

Legacy fetch list/tree using 'limit' = 0 breaks backwards compatibilty

    XMLWordPrintable

Details

    Description

      In eZ 4.x it was absolutely legal to use a list fetch like this

              {def $list_items=fetch( 'content', 'list', hash( 'parent_node_id', $node.node_id,
                                                               'class_filter_type', 'include',
                                                               'class_filter_array', array( 'article' ),
                                                               'sort_by', $node.sort_array,
                                                               'limit', 0
                                                             ) )}
      

      to fetch ALL items.

      In 2014.05 this fetch returns ZERO items as the limit parameter is always passed on.

      This behavior has been introduced by the fix for EZP-14342 (v4.5)

      Attachments

        Activity

          People

            Unassigned Unassigned
            4121eaa2-dd96-4b79-ab2e-8f570a058da6@accounts.ibexa.co Donat Fritschy
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 20 minutes
                20m