Details
-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
2014.03
-
None
-
N/A
Description
When logged with a user having content/read with a subtree limitation (or with a role having a Subtree limitation applied), any use of SearchService::findLocations() will throw a NotImplementedException :
NotImplementedException: Intentionally not implemented: No visitor available for: eZ\Publish\API\Repository\Values\Content\Query\Criterion\LocationId with operator =
thrown by /vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Persistence/Legacy/Content/Search/Common/Gateway/CriteriaConverter.php at line 58
Steps to reproduce
1. Assign a content/read policy to the anonymous role, with a subtree limitation applied to the content root node.
2. Make a "symfony stack page" with a SearchService::findLocations() call, with any Criterions
3. Check this page with anonymous user