PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-26632

Exception thrown when using web content template with global structure

    Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Story Points:
      1
    • Fix Priority:
      4
    • Similar Issues:
      Show 5 results 

      Description

      Steps:
      1. Create Global Structure
      2. Create site template associated to Global structure

      Results: Template is successfully created, but the following error appears in console:

      00:05:48,921 ERROR [IncludeTag:349] Current URL /group/control_panel/manage?p_p_id=15&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&doAsGroupId=10176&refererPlid=10179&_15_tabs1=templates&_15_refererPlid=10179&_15_doAsGroupId=10176&_15_struts_action=%2Fjournal%2Fview generates exception: An exception occurred processing JSP page /html/portlet/journal/template_action.jsp at line 82
      
      79: 
      80:             <liferay-ui:icon image="view_articles" message="view-web-content" url="<%= viewArticlesURL %>" />
      81: 
      82:             <c:if test="<%= JournalStructurePermission.contains(permissionChecker, scopeGroupId, template.getStructureId(), ActionKeys.UPDATE) %>">
      83:                     <portlet:renderURL var="editStructureURL">
      84:                             <portlet:param name="struts_action" value="/journal/edit_structure" />
      85:                             <portlet:param name="redirect" value="<%= currentURL %>" />
      
      
      Stacktrace:
      00:05:48,923 ERROR [IncludeTag:154] com.liferay.portlet.journal.NoSuchStructureException: No JournalStructure exists with the key {groupId=10176, structureId=10422}
              at com.liferay.portlet.journal.service.persistence.JournalStructurePersistenceImpl.findByG_S(JournalStructurePersistenceImpl.java:2767)
              at com.liferay.portlet.journal.service.impl.JournalStructureLocalServiceImpl.getStructure(JournalStructureLocalServiceImpl.java:401)
              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.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:59)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:59)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:59)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:59)
              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.journal.service.JournalStructureLocalServiceUtil.getStructure(JournalStructureLocalServiceUtil.java:382)
              at com.liferay.portlet.journal.service.permission.JournalStructurePermission.contains(JournalStructurePermission.java:91)
              at org.apache.jsp.html.portlet.journal.template_005faction_jsp._jspService(template_005faction_jsp.java:1136)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
      

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        19h 4m 1 Hugo Huijser 11/Apr/12 12:22 PM
        In Progress In Progress In Review In Review
        6s 1 Hugo Huijser 11/Apr/12 12:22 PM
        In Review In Review Resolved Resolved
        4h 13m 1 Brian Chan 11/Apr/12 4:36 PM
        Resolved Resolved Closed Closed
        8d 6h 46m 1 Lawrence Lee 19/Apr/12 11:22 PM

          People

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

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 45 weeks, 1 day ago

              Development

                Structure Helper Panel