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

Non-existant site is listed on the Control Panel drop down list

Details

    Description

      Steps to reproduce:

      1. Grab the GA2 EE (or the 6110) code preconfigured for HSQL.
      2. compile the code with: ant all
      3. run startup.bat in Tomcat.
      4. Login as [email protected] with password test (accept the agreement, set the answer to the "Father's middle name" question, etc.).
      5. Go to Control Panel.
      6. Click on "Liferay.com, Inc. (Public)" in the upper right drop down menu.

      Observed behavior:

      1. The page stays on the Control Panel and displays the message: Site Redirector is temporarily unavailable.
      The problem doesn't occur with new organizations that I create, only with the default one that comes with the code.

      2. The following is displayed on the Tomcat console:

      16:37:13,038 ERROR [render_portlet_jsp:154] com.liferay.portal.NoSuchResourcePermissionException: No ResourcePermission exists with the key {companyId=1, name=com.liferay.portal.model.Layout, scope=4, primKey=26, roleId=10148}
      	at com.liferay.portal.service.impl.ResourcePermissionLocalServiceImpl.getResourcePermission(ResourcePermissionLocalServiceImpl.java:429)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:112)
      	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:59)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:59)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:59)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
      	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:211)
      	at com.liferay.portal.service.ResourcePermissionLocalServiceUtil.getResourcePermission(ResourcePermissionLocalServiceUtil.java:459)
      	at com.liferay.portal.service.permission.LayoutPermissionImpl.containsWithoutViewableGroup(LayoutPermissionImpl.java:204)
      	at com.liferay.portal.service.permission.LayoutPermissionImpl.containsWithoutViewableGroup(LayoutPermissionImpl.java:299)
      	at com.liferay.portal.service.permission.LayoutPermissionImpl.containsWithViewableGroup(LayoutPermissionImpl.java:315)
      	at com.liferay.portal.service.permission.LayoutPermissionImpl.contains(LayoutPermissionImpl.java:103)
      	at com.liferay.portal.service.permission.LayoutPermissionImpl.contains(LayoutPermissionImpl.java:113)
      	at com.liferay.portal.service.permission.LayoutPermissionImpl.contains(LayoutPermissionImpl.java:94)
      	at com.liferay.portal.service.permission.LayoutPermissionUtil.contains(LayoutPermissionUtil.java:64)
      	at com.liferay.portlet.myplaces.action.ViewAction.getRedirect(ViewAction.java:174)
      
      16:37:17,649 ERROR [render_portlet_jsp:154] com.liferay.portal.NoSuchResourcePermissionException: No ResourcePermission exists with the key {companyId=1, name=com.liferay.portal.model.Layout, scope=4, primKey=26, roleId=10148}
      	at com.liferay.portal.service.impl.ResourcePermissionLocalServiceImpl.getResourcePermission(ResourcePermissionLocalServiceImpl.java:429)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:112)
      	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:59)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:59)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:59)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
      	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:211)
      	at com.liferay.portal.service.ResourcePermissionLocalServiceUtil.getResourcePermission(ResourcePermissionLocalServiceUtil.java:459)
      	at com.liferay.portal.service.permission.LayoutPermissionImpl.containsWithoutViewableGroup(LayoutPermissionImpl.java:204)
      	at com.liferay.portal.service.permission.LayoutPermissionImpl.containsWithoutViewableGroup(LayoutPermissionImpl.java:299)
      	at com.liferay.portal.service.permission.LayoutPermissionImpl.containsWithViewableGroup(LayoutPermissionImpl.java:315)
      	at com.liferay.portal.service.permission.LayoutPermissionImpl.contains(LayoutPermissionImpl.java:103)
      	at com.liferay.portal.service.permission.LayoutPermissionImpl.contains(LayoutPermissionImpl.java:113)
      	at com.liferay.portal.service.permission.LayoutPermissionImpl.contains(LayoutPermissionImpl.java:94)
      	at com.liferay.portal.service.permission.LayoutPermissionUtil.contains(LayoutPermissionUtil.java:64)
      	at com.liferay.portlet.myplaces.action.ViewAction.getRedirect(ViewAction.java:174)
      

      Attachments

        Issue Links

          Activity

            People

              ginson.ren Ginson Ren
              james.lefeu James Lefeu (Inactive)
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                10 years, 5 weeks, 4 days ago

                Packages

                  Version Package
                  6.1.2 CE GA3
                  6.1.30 EE GA3
                  6.2.0 CE M3