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

Displaying Web Content with Structure and Template Causes NoSuchTemplateException

    Details

      Description

      Steps to Reproduce:

      1. Add a structure
      2. Add a template for the structure
      3. Add a web content based on the structure
      4. Add a web content display portlet
      5. Display the web content
      19:41:31,684 ERROR [http-bio-8080-exec-8][IncludeTag:206] Current URL /web/guest/home generates exception: com.liferay.portlet.journal.NoSuchTemplateException: No JournalTemplate exists with the key {groupId=10146, templateId=10422}
      19:41:31,690 ERROR [http-bio-8080-exec-8][IncludeTag:154] com.liferay.portlet.journal.NoSuchTemplateException: No JournalTemplate exists with the key {groupId=10146, templateId=10422}
              at com.liferay.portlet.journal.service.persistence.JournalTemplatePersistenceImpl.findByG_T(JournalTemplatePersistenceImpl.java:3548)
              at com.liferay.portlet.journal.service.impl.JournalTemplateLocalServiceImpl.getTemplate(JournalTemplateLocalServiceImpl.java:451)
              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:55)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:55)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:55)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:55)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:55)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
              at com.liferay.portal.security.pacl.PACLAdvice.invoke(PACLAdvice.java:51)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
              at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:162)
              at com.liferay.portlet.journal.service.JournalTemplateLocalServiceUtil.getTemplate(JournalTemplateLocalServiceUtil.java:400)
              at org.apache.jsp.html.portlet.journal_005fcontent.view_jsp._jspService(view_jsp.java:1516)
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  7 years, 34 weeks ago

                  Packages

                  Version Package
                  6.2.0 CE M3