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

Fetch with a language filter doesn't work anymore after applying updates

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Duplicate
    • Affects Version/s: 4.7.0
    • Fix Version/s: Customer request
    • Component/s: 5.x > Legacy IO
    • Labels:
      None
    • Environment:

      eZ Publish 4.7 with all updates applied

      Description

      After applying the available updates it won't be possible to filter content by the translation language on a fetch.

      The fetch I'm trying to do is quite simple:

      $rootNode = eZContentObjectTreeNode::fetch( 2 );
      
      $params = array( 'Depth' => 1,
      'Limit' => 100,
      'ClassFilterType' => 'include',
      'ClassFilterArray' => array( 'article' ),
      'AsObject' => true,
      'Language' => array( 'fre-FR' ));
      
      $nodeArray = $rootNode->subTree( $params );
      

      This seems to be a backwards compatibility break.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              ricardo.correia-obsolete@ez.no Ricardo Correia (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 2 hours, 50 minutes
                  2h 50m