Details

      Description

      The bug can lead to the situation where all of your content gets hidden if you have
      RootNodeList[]=2

      The problem is in the line where nodes for hiding are fetched:

                       $nodeArray = $rootNode->subTree( $hiddenNodesParams );
      

      $hiddenNodesParams looks like this:

      $hiddenNodesParams = array(
          'LoadDataMap' => false,
          'Limit' => $limit,
          'Offset' => $offset,
          'SortBy' => array( array( 'published', true ) ) );
      

      Basically all nodes are fetched.

      Solution is to use $countParams instead.

      Steps to reproduce
      • create one class with hide_data
      • create an object with hide_data in the past somewhere in the content tree
      • configure content.ini with RootNodeList[]=2
      • execute cronjob

        Issue Links

          Activity

          Hide
          André R added a comment -

          Duplicates fixed issue: http://issues.ez.no/017853

          Show
          André R added a comment - Duplicates fixed issue: http://issues.ez.no/017853
          Hide
          ezrobot added a comment -

          This issue has been automatically closed due to the lack of activity over a long period of time. It is very likely that it is obsolete, but if you think it is still valid, do not hesitate to reopen it and mention why.

          Show
          ezrobot added a comment - This issue has been automatically closed due to the lack of activity over a long period of time. It is very likely that it is obsolete, but if you think it is still valid, do not hesitate to reopen it and mention why.

            People

            • Assignee:
              unknown
              Reporter:
              Ivo Lukač
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: