Uploaded image for project: 'Hippo Repository'
  1. Hippo Repository
  2. REPO-234

Queries fail to execute when hierarche mgr throws error in HippoAccessManager

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Top
    • Resolution: Fixed
    • Affects Version/s: 2.18.06, 2.20.02, 2.21.03
    • Fix Version/s: 2.20.04, 2.21.04
    • Labels:
      None
    • Similar issues:

      Description

      The erroneous node should just be skipped instead of failing to execute.

      Oct 25 16:35:52 p-site1 Caused by: javax.jcr.RepositoryException: failed to resolve name of a19b145a-081f-415b-869f-c86b0477dee1
      Oct 25 16:35:52 p-site1 at org.apache.jackrabbit.core.HierarchyManagerImpl.getName(HierarchyManagerImpl.java:467)
      Oct 25 16:35:52 p-site1 at org.apache.jackrabbit.core.HierarchyManagerImpl.getName(HierarchyManagerImpl.java:427)
      Oct 25 16:35:52 p-site1 at org.apache.jackrabbit.core.CachingHierarchyManager.getName(CachingHierarchyManager.java:248)
      Oct 25 16:35:52 p-site1 at org.hippoecm.repository.jackrabbit.HippoHierarchyManager.getName(HippoHierarchyManager.java:69)
      Oct 25 16:35:52 p-site1 at org.hippoecm.repository.security.HippoAccessManager.getNodeName(HippoAccessManager.java:700)
      Oct 25 16:35:52 p-site1 at org.hippoecm.repository.security.HippoAccessManager.matchFacetRule(HippoAccessManager.java:657)
      Oct 25 16:35:52 p-site1 at org.hippoecm.repository.security.HippoAccessManager.isNodeInDomain(HippoAccessManager.java:596)
      Oct 25 16:35:52 p-site1 at org.hippoecm.repository.security.HippoAccessManager.canRead(HippoAccessManager.java:505)
      Oct 25 16:35:52 p-site1 at org.hippoecm.repository.security.HippoAccessManager.canRead(HippoAccessManager.java:495)
      Oct 25 16:35:52 p-site1 at org.hippoecm.repository.security.HippoAccessManager.canRead(HippoAccessManager.java:1122)
      Oct 25 16:35:52 p-site1 at org.apache.jackrabbit.core.query.lucene.QueryResultImpl.isAccessGranted(QueryResultImpl.java:355)
      Oct 25 16:35:52 p-site1 at org.apache.jackrabbit.core.query.lucene.QueryResultImpl.collectScoreNodes(QueryResultImpl.java:334)
      Oct 25 16:35:52 p-site1 at org.apache.jackrabbit.core.query.lucene.QueryResultImpl.getResults(QueryResultImpl.java:291)
      Oct 25 16:35:52 p-site1 at org.apache.jackrabbit.core.query.lucene.SingleColumnQueryResult.<init>(SingleColumnQueryResult.java:61)
      Oct 25 16:35:52 p-site1 at org.apache.jackrabbit.core.query.lucene.QueryImpl.execute(QueryImpl.java:135)
      Oct 25 16:35:52 p-site1 at org.apache.jackrabbit.core.query.QueryImpl$1.perform(QueryImpl.java:131)
      Oct 25 16:35:52 p-site1 at org.apache.jackrabbit.core.query.QueryImpl$1.perform(QueryImpl.java:128)
      Oct 25 16:35:52 p-site1 at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:200)
      Oct 25 16:35:52 p-site1 at org.apache.jackrabbit.core.query.QueryImpl.execute(QueryImpl.java:127)
      Oct 25 16:35:52 p-site1 at org.hippoecm.repository.impl.QueryDecorator.execute(QueryDecorator.java:377)
      Oct 25 16:35:52 p-site1 at org.hippoecm.repository.impl.QueryDecorator.execute(QueryDecorator.java:94)
      Oct 25 16:35:52 p-site1 at org.hippoecm.repository.decorating.checked.QueryDecorator.execute(QueryDecorator.java:62)
      Oct 25 16:35:52 p-site1 at org.hippoecm.hst.content.beans.query.HstQueryImpl.execute(HstQueryImpl.java:260)
      Oct 25 16:35:52 p-site1 ... 81 more

        Attachments

          Activity

            People

            • Assignee:
              bvdschans Bart van der Schans (Inactive)
              Reporter:
              bvdschans Bart van der Schans (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: