Details
-
Bug
-
Resolution: Fixed
-
High
-
4.6.0, 4.7.0, 5.0, 5.1, 5.2
-
None
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
Issue Links
- relates to
-
EZP-19673 Only main location is being returned for front end searches
- Closed