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

Non-existant page is listed in default sites 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. Add the code change from LPS-29157 which fixes the Control Panel site processing, changes the default "Liferay.com, Inc. (Public)" site to a valid site, and exposes a hidden page defect.
      3. compile the code with: ant all
      4. run startup.bat in Tomcat.
      5. Login as test@liferay.com with password test (accept the agreement, set the answer to the "Father's middle name" question, etc.).
      6. Go to Control Panel.
      7. 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:

      08:53:21,713 ERROR [http-bio-8080-exec-6][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=10149}
              at com.liferay.portal.service.impl.ResourcePermissionLocalServiceImpl.getResourcePermission(ResourcePermissionLocalServiceImpl.java:410)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:122)
              at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
              at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:211)
              at com.liferay.portal.service.ResourcePermissionLocalServiceUtil.getResourcePermission(ResourcePermissionLocalServiceUtil.java:465)
              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)
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 8 weeks, 1 day ago

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 week, 1 day, 3 hours
                  1w 1d 3h

                    Packages

                    Version Package
                    6.1.X EE