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

eZFind: Search may return nodes outside of chosen 'subtree_array'

    XMLWordPrintable

Details

    Description

      When a subtree_array is used for the search fetch function, in certain conditions the results include nodes outside of the chosen subtrees.

      Steps to reproduce:
      • Apply all eZ Find updates, including the fix from EZP-19673
      • create 2 folders: 'main', 'hidden'
      • create a 'Test' article inside 'main' folder, add a secondary location within 'hidden'
      • modify the search template to search on specific subtrees, add the location/node_id of the 'hidden' folder (but not the 'main' folder).
      • update search index using bin/php/updatesearchindex.php

      In the frontend, perform a search for 'Test'

      Expected Result:

      No results should be displayed, as the search is performed on the 'hidden' subtree.

      Actual Result:

      The 'main' location is returned.

      Additional details:

      The following message is logged when performing a search:

      [ Feb 06 2014 09:36:57 ] [127.0.0.1] eZSolr::getNodeID:
      Could not find a visible location for content #105 that current user has read access on. The Solr index is probably outdated
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            joao.inacio-obsolete@ez.no Joao Inacio (Inactive)
            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 - 1 day
                1d