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

Cannot create organization site using both Community and Intranet Site Templates

    Details

    • Fix Priority:
      4

      Description

      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:

      1. Start Liferay and sign in.
      2. Go to Control Panel > Users and Organizations.
      3. Click Add > Regular Organization.
      4. Fill in the "Name" box.
      5. In the right blue menu, click Organization site.
      6. Check "Create Site".
      7. Assign the "Community Site" template to the Public Pages dropdown menu and the "Intranet Site" template to Private Pages dropdown menu.
      8. 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)
      

        Attachments

          Activity

            People

            Assignee:
            catherine.lui Catherine Lui (Inactive)
            Reporter:
            catherine.lui Catherine Lui (Inactive)
            Participants of an Issue:
            Recent user:
            Marta Elicegui
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              8 years, 49 weeks, 4 days ago

                Packages

                Version Package
                --Sprint 11/12
                6.2.0 CE M2