-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 3.X EE, 3.X CE
-
Component/s: Environment, Environment > General / Integration
-
Labels:None
-
Fix Priority:5
NoSuchRoleException when trying to give a non-SO user a non-SO role, with some SO plugins deployed.
- Deploy the following plugins: private messaging, so-portlet, microblogs, and contacts center.
- Navigate to the control panel.
- Add a new user.
- Assign the admin role to the new user and click save.
Expected results: The action completes successfully and the user has the admin role listed (along with any other default roles) in the roles section.
Actual results: There is an error message that says the portlet is currently unavailable, the role is not assigned to the user, and the following console error appears:
15:58:36,456 ERROR [http-bio-8080-exec-3][render_portlet_jsp:132] null
com.liferay.portal.NoSuchRoleException: No Role exists with the key {companyId=10157, name=Social Office User}
at com.liferay.portal.service.persistence.RolePersistenceImpl.findByC_N(RolePersistenceImpl.java:5597)
at com.liferay.portal.service.impl.RoleLocalServiceImpl.loadGetRole(RoleLocalServiceImpl.java:1158)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115)
at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62)
at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:51)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
- Testing discovered
-
LPS-48245 Broken request titles with Contacts and Social Networking portlet
- Closed