Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-75264

Search by user Guest causes NoSuchResourceActionException: com.liferay.trash.model.TrashEntry

    Details

      Description

      When user Guest do a search using Search Application an NoSuchResourceActionException is shown in log.

      Steps to reproduce in master:

      1. Start portal.
      2. Logout from portal.
      3. Do any search (e.g. cont)

      Expected result
      Do not show an Exception in log
      Current Result
      An Exception in showed in log

      15:15:40,562 ERROR [http-nio-8080-exec-8][SearchPermissionCheckerImpl:147] com.liferay.portal.kernel.exception.NoSuchResourceActionException: com.liferay.trash.model.TrashEntry#VIEW
      com.liferay.portal.kernel.exception.NoSuchResourceActionException: com.liferay.trash.model.TrashEntry#VIEW
          at com.liferay.portal.service.impl.ResourceActionLocalServiceImpl.getResourceAction(ResourceActionLocalServiceImpl.java:388)
          at sun.reflect.GeneratedMethodAccessor121.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:498)
          at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:163)
          at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:169)
          at com.sun.proxy.$Proxy77.getResourceAction(Unknown Source)
          at com.liferay.portal.service.impl.ResourcePermissionLocalServiceImpl.hasResourcePermission(ResourcePermissionLocalServiceImpl.java:809)
      ...
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              felix.zhang Felix Zhang
              Reporter:
              josemaria.munoz José María Muñoz
              Participants of an Issue:
              Recent user:
              Brian Lee
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 5 weeks, 6 days ago

                  Packages

                  Version Package
                  7.1.X
                  Master