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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Low 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.

        Issue Links

          Activity

          Ricardo Correia (Inactive) created issue -
          Ricardo Correia (Inactive) made changes -
          Field Original Value New Value
          Status Open [ 1 ] Confirmed [ 10037 ]
          Paulo Lopes (Inactive) made changes -
          Status Confirmed [ 10037 ] InputQ [ 10001 ]
          André Rømcke made changes -
          Priority Medium [ 4 ] Low [ 5 ]
          Gunnstein Lye made changes -
          Assignee Gunnstein Lye [ gunnstein.lye@ez.no ]
          Gunnstein Lye made changes -
          Status InputQ [ 10001 ] Development [ 3 ]
          Hide
          Gunnstein Lye added a comment - - edited

          Not reproducible on current master, will try 4.7 next.

          Edit: This is reproducible on 4.7 (with all service packs). The filter returns articles in all languages, not fre-FR only as expected. It is a regression from https://jira.ez.no/browse/EZP-23611 which was distributed in EZSP-017-EZP4.7.

          Show
          Gunnstein Lye added a comment - - edited Not reproducible on current master, will try 4.7 next. Edit: This is reproducible on 4.7 (with all service packs). The filter returns articles in all languages, not fre-FR only as expected. It is a regression from https://jira.ez.no/browse/EZP-23611 which was distributed in EZSP-017-EZP4.7.
          Gunnstein Lye made changes -
          Remaining Estimate 0 minutes [ 0 ]
          Time Spent 30 minutes [ 1800 ]
          Worklog Id 53006 [ 53006 ]
          Gunnstein Lye logged work - 09/Feb/15 1:30 PM - edited
          • Time Spent:
            30 minutes
             

            .

          Gunnstein Lye logged work - 09/Feb/15 2:30 PM
          • Time Spent:
            40 minutes
             

            .

          Gunnstein Lye logged work - 09/Feb/15 3:00 PM
          • Time Spent:
            1 hour, 40 minutes
             
            <No comment>
          Gunnstein Lye made changes -
          Time Spent 30 minutes [ 1800 ] 1 hour, 40 minutes [ 6000 ]
          Worklog Id 53006 [ 53006 ]
          Gunnstein Lye made changes -
          Remaining Estimate 0 minutes [ 0 ] 1 hour, 10 minutes [ 4200 ]
          Time Spent 1 hour, 40 minutes [ 6000 ] 30 minutes [ 1800 ]
          Worklog Id 53006 [ 53006 ]
          Gunnstein Lye made changes -
          Remaining Estimate 1 hour, 10 minutes [ 4200 ] 30 minutes [ 1800 ]
          Time Spent 30 minutes [ 1800 ] 1 hour, 10 minutes [ 4200 ]
          Worklog Id 53009 [ 53009 ]
          Gunnstein Lye made changes -
          Remaining Estimate 30 minutes [ 1800 ]
          Gunnstein Lye made changes -
          Link This issue relates to EZP-23611 [ EZP-23611 ]
          Show
          Gunnstein Lye added a comment - The fix is in https://jira.ez.no/browse/EZP-19512 4.7 backport: https://github.com/ezsystems/ezpublish-legacy-ee/commit/6dc93db7a887b54f6cbc9dd5ca73e1df3db48955
          Gunnstein Lye made changes -
          Link This issue duplicates EZP-19512 [ EZP-19512 ]
          Gunnstein Lye made changes -
          issue.field.resolutiondate 2015-02-09 15:40:11.0 2015-02-09 15:40:11.033
          Remaining Estimate 0 minutes [ 0 ]
          Time Spent 1 hour, 10 minutes [ 4200 ] 2 hours, 50 minutes [ 10200 ]
          Worklog Id 53013 [ 53013 ]
          Gunnstein Lye made changes -
          Assignee Gunnstein Lye [ gunnstein.lye@ez.no ]
          Status Development [ 3 ] Closed [ 6 ]
          Resolution Duplicate [ 3 ]
          André Rømcke made changes -
          Workflow eZ Engineering Scrumban Workflow [ 65946 ] EZ* Development Workflow [ 85696 ]
          Alex Schuster made changes -
          Workflow EZ* Development Workflow [ 85696 ] EZEE Development Workflow [ 124574 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Confirmed Confirmed
          3m 48s 1 ricardo.correia@ez.no 03/Feb/15 11:32 AM
          Confirmed Confirmed InputQ InputQ
          5m 39s 1 Paulo Lopes (Inactive) 03/Feb/15 11:38 AM
          InputQ InputQ Development Development
          6d 2m 1 Gunnstein Lye 09/Feb/15 11:40 AM
          Development Development Closed Closed
          4h 59m 1 Gunnstein Lye 09/Feb/15 4:40 PM

            People

            • Assignee:
              Unassigned
              Reporter:
              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