-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 6.1.1 CE GA2, 6.1.20 EE GA2
-
Fix Version/s: 6.1.X EE
-
Component/s: Legacy, Legacy > Control Panel menu
-
Story Points:2
-
Fix Priority:5
-
Git Pull Request:
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)
- causes
-
LPS-67904 LayoutLocalServiceUtil.getNoPermissionLayouts always returns all layouts
- Closed
- Discovered while testing
-
LPS-32193 Layout has a bad column name "hidden"
- Closed
- is related to
-
LPS-34597 Cannot start the server with HSQL
- Closed
- Testing discovered
-
LPS-29157 Non-existant site is listed on the Control Panel drop down list
- Closed