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

Intermittent issue where user can't add a search blueprint

    Details

    • Quality Gate:
      Upstream Test Analysis

      Description

      Occasionally there is an issue after creating or downloading a bundle on the search blueprints development branch where the Search Experiences page is blank and a user can't add a blueprint or view existing blueprints.

      Steps to Reproduce:

      1. Go to Search Experiences
      2. Attempt to add a blueprint

      Expected Result:
      There is a list of blueprints and an add button to add a custom blueprint

      Actual Result:
      The Search Experiences page is blank and there is an error in the console log:

      2021-06-03 04:57:30.944 ERROR [http-nio-8080-exec-3][IncludeTag:128] Current URL /group/guest/~/control_panel/manage?p_p_id=com_liferay_portal_search_tuning_blueprints_web_internal_portlet_BlueprintsAdminPortlet&p_p_lifecycle=0&p_p_state=maximized&p_v_l_s_g_id=20126&p_p_auth=olUyWOKY generates exception: java.lang.IllegalArgumentException: Someone may be trying to circumvent the permission checker: {companyId=20102, name=com.liferay.portal.search.tuning.blueprints, primKey=com.liferay.portal.search.tuning.blueprints, scope=4}
      com.liferay.portal.kernel.exception.NoSuchResourcePermissionException: {companyId=20102, name=com.liferay.portal.search.tuning.blueprints, primKey=com.liferay.portal.search.tuning.blueprints, scope=4}
      	at com.liferay.portal.service.impl.ResourcePermissionLocalServiceImpl.hasResourcePermission(ResourcePermissionLocalServiceImpl.java:1073) ~[portal-impl.jar:?]
      	at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66) ~[portal-kernel.jar:?]
      	at com.liferay.portal.kernel.service.ResourcePermissionLocalServiceWrapper.hasResourcePermission(ResourcePermissionLocalServiceWrapper.java:782) ~[portal-kernel.jar:?]
      	at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66) ~[portal-kernel.jar:?]
      	at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50) ~[portal-impl.jar:?]
      	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:69) ~[portal-impl.jar:?]
      	at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57) ~[portal-impl.jar:?]
      	at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49) ~[portal-impl.jar:?]
      	at com.liferay.portal.service.impl.ResourceLocalServiceImpl.hasUserPermissions(ResourceLocalServiceImpl.java:406) ~[portal-impl.jar:?]
      	at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50) ~[portal-impl.jar:?]
      	at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49) ~[portal-impl.jar:?]
      	at com.liferay.portal.kernel.service.ResourceLocalServiceUtil.hasUserPermissions(ResourceLocalServiceUtil.java:345) ~[portal-kernel.jar:?]
      	at com.liferay.portal.security.permission.AdvancedPermissionChecker.doCheckPermission(AdvancedPermissionChecker.java:433) ~[portal-impl.jar:?]
      	at com.liferay.portal.security.permission.AdvancedPermissionChecker._hasUserPermissionImpl(AdvancedPermissionChecker.java:1333) ~[portal-impl.jar:?]
      	at com.liferay.portal.security.permission.AdvancedPermissionChecker._hasPermissionImpl(AdvancedPermissionChecker.java:1302) ~[portal-impl.jar:?]
      	at com.liferay.portal.security.permission.AdvancedPermissionChecker.hasPermission(AdvancedPermissionChecker.java:240) ~[portal-impl.jar:?]
      	at com.liferay.portal.security.permission.BasePermissionChecker.hasPermission(BasePermissionChecker.java:89) ~[portal-impl.jar:?]
      	at com.liferay.portal.security.permission.StagingPermissionChecker.hasPermission(StagingPermissionChecker.java:117) ~[portal-impl.jar:?]
      	at com.liferay.portal.kernel.security.permission.wrapper.PermissionCheckerWrapper.hasPermission(PermissionCheckerWrapper.java:101) ~[portal-kernel.jar:?]
      	at com.liferay.depot.internal.security.permission.wrapper.DepotPermissionCheckerWrapper.lambda$hasPermission$0(DepotPermissionCheckerWrapper.java:70) ~[?:?]

      Testray Example

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              team-search Product Team Search
              Reporter:
              brooke.dalton Brooke Dalton
              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:
                50 weeks ago
                Development End Date:

                  Packages

                  Version Package