-
Type:
Bug
-
Status: Closed
-
Resolution: No Longer Reproducible
-
Affects Version/s: 6.1.0 CE RC1
-
Fix Version/s: --Sprint 11/12, 6.2.0 CE M2
-
Component/s: Navigation Widgets > My Sites widget
-
Labels:None
-
Environment:Tomcat 7.0.22 + MySQL 5. 6.1.x Revision: 94276.
-
Fix Priority:4
A "DuplicateVocabularyException" exception is raised if the user attempts to create an Organization site that use both the Community site template and the Intranet site template (for example, the site's public pages uses the Community template and the private pages uses the Intranet template). The pages that use the Community site template get created, but the Intranet template pages cannot be created.
Steps to reproduce:
- Start Liferay and sign in.
- Go to Control Panel > Users and Organizations.
- Click
Add > Regular Organization.
- Fill in the "Name" box.
- In the right blue menu, click Organization site.
- Check "Create Site".
- Assign the "Community Site" template to the Public Pages dropdown menu and the "Intranet Site" template to Private Pages dropdown menu.
- Click Save.
The control panel displays a "Users and Organizations is temporarily unavailable" error and the following error displays on the console:
17:22:35,528 ERROR [render_portlet_jsp:154] com.liferay.portlet.asset.DuplicateVocabularyException: A category vocabulary with the name Topic already exists at com.liferay.portlet.asset.service.impl.AssetVocabularyLocalServiceImpl.validate(AssetVocabularyLocalServiceImpl.java:378) at com.liferay.portlet.asset.service.impl.AssetVocabularyLocalServiceImpl.addVocabulary(AssetVocabularyLocalServiceImpl.java:81) 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.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:211) at com.liferay.portlet.asset.service.AssetVocabularyLocalServiceUtil.addVocabulary(AssetVocabularyLocalServiceUtil.java:305) at com.liferay.portal.lar.PortletImporter.importAssetVocabulary(PortletImporter.java:793) at com.liferay.portal.lar.PortletImporter.readAssetCategories(PortletImporter.java:1086) at com.liferay.portal.lar.LayoutImporter.doImportLayouts(LayoutImporter.java:427) at com.liferay.portal.lar.LayoutImporter.importLayouts(LayoutImporter.java:140) at com.liferay.portal.service.impl.LayoutLocalServiceImpl.importLayouts(LayoutLocalServiceImpl.java:1192) at com.liferay.portal.service.impl.LayoutLocalServiceStagingAdvice.invoke(LayoutLocalServiceStagingAdvice.java:86) 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.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:211) at com.liferay.portal.service.impl.LayoutServiceImpl.importLayouts(LayoutServiceImpl.java:613) at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:112) at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)