Details

    • Fix Priority:
      3

      Description

      Clicking the "Save as Draft" button causes a console error. This occurs only when the user creates the web content through the asset publisher. If the user had used the web content display portlet, this issue does not arise.

      Steps taken:
      1. Add a page.
      2. Add the Asset Publisher portlet.
      3. Click the Add New> button.
      4. Click Basic Web Content.
      5. Enter a title.
      6. Enter a description.
      7. Click the Save as Draft button.
      8. There is a console error.

      22:54:27,415 DEBUG [DynamicCSSUtil:124] Loading SASS cache from D:\6.1.x-ee\bundles\tomcat-7.0.23\webapps\ROOT\html\portlet\journal\css\.sass-cache\main.css takes 1 ms
      22:54:37,694 ERROR [IncludeTag:426] Current URL /group/control_panel/manage?p_p_auth=5KBkQ6Gi&p_p_id=15&p_p_lifecycle=0&p_p_state=pop_up&doAsGroupId=10180&refererPlid=10183&_15_struts_action=%2Fjournal%2Fedit_article&_15_cmd=update&_15_redirect=http%3A%2F%2Flocalhost%3A9080%2Fweb%2Fguest%2Fhome%3Fp_p_id%3D101_INSTANCE_TlbfDjSrMcN0%26p_p_lifecycle%3D0%26p_p_state%3Dpop_up%26p_p_mode%3Dview%26p_p_col_id%3Dcolumn-1%26_101_INSTANCE_TlbfDjSrMcN0_struts_action%3D%252Fasset_publisher%252Fadd_asset_redirect&_15_originalRedirect=http%3A%2F%2Flocalhost%3A9080%2Fweb%2Fguest%2Fhome%3Fp_p_id%3D101_INSTANCE_TlbfDjSrMcN0%26p_p_lifecycle%3D0%26p_p_state%3Dpop_up%26p_p_mode%3Dview%26p_p_col_id%3Dcolumn-1%26_101_INSTANCE_TlbfDjSrMcN0_struts_action%3D%252Fasset_publisher%252Fadd_asset_redirect&_15_groupId=10180&_15_articleId=10429&_15_version=1.0&_15_languageId=en_US generates exception: com.liferay.portlet.journal.NoSuchArticleException: No approved JournalArticle exists with the key {groupId=10180, ar
      ticleId=10429}
      22:54:37,698 ERROR [IncludeTag:154] com.liferay.portlet.journal.NoSuchArticleException: No approved JournalArticle exists with the key {groupId=10180, articleId=10429}
              at com.liferay.portlet.journal.service.impl.JournalArticleLocalServiceImpl.getDisplayArticle(JournalArticleLocalServiceImpl.java:1272)
              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.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:211)
              at com.liferay.portlet.journal.service.JournalArticleLocalServiceUtil.getDisplayArticle(JournalArticleLocalServiceUtil.java:691)
              at com.liferay.portlet.journal.asset.JournalArticleAssetRendererFactory.getAssetRenderer(JournalArticleAssetRendererFactory.java:80)
              at com.liferay.portlet.asset.model.BaseAssetRendererFactory.getAssetRenderer(BaseAssetRendererFactory.java:59)
              at org.apache.jsp.html.portlet.journal.article.display_005fpage_jsp._jspService(display_005fpage_jsp.java:1718)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
              at com.liferay.portal.kernel.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:45)
              at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:323)
              at com.liferay.taglib.util.IncludeTag._doInclude(IncludeTag.java:418)
      
      23:04:22,728 DEBUG [DynamicCSSUtil:124] Loading SASS cache from D:\6.1.x-ee\bundles\tomcat-7.0.23\webapps\ROOT\html\portlet\journal_content\css\.sass-cache\main.css takes 1 ms
      23:04:25,209 DEBUG [DynamicCSSUtil:124] Loading SASS cache from D:\6.1.x-ee\bundles\tomcat-7.0.23\webapps\ROOT\html\portlet\journal\css\.sass-cache\main.css takes 0 ms
      23:04:26,400 DEBUG [DynamicCSSUtil:124] Loading SASS cache from D:\6.1.x-ee\bundles\tomcat-7.0.23\webapps\ROOT\html\themes\classic\css\.sass-cache\main.css takes 2 ms
      23:05:36,780 ERROR [IncludeTag:426] Current URL /group/control_panel/manage?p_p_auth=5KBkQ6Gi&p_p_id=15&p_p_lifecycle=0&p_p_state=pop_up&doAsGroupId=10180&refererPlid=10183&_15_struts_action=%2Fjournal%2Fedit_article&_15_cmd=update&_15_redirect=http%3A%2F%2Flocalhost%3A9080%2Fweb%2Fguest%2Fhome%3Fp_p_id%3D101_INSTANCE_TlbfDjSrMcN0%26p_p_lifecycle%3D0%26p_p_state%3Dpop_up%26p_p_mode%3Dview%26p_p_col_id%3Dcolumn-2%26p_p_col_count%3D2%26_101_INSTANCE_TlbfDjSrMcN0_struts_action%3D%252Fasset_publisher%252Fadd_asset_redirect&_15_originalRedirect=http%3A%2F%2Flocalhost%3A9080%2Fweb%2Fguest%2Fhome%3Fp_p_id%3D101_INSTANCE_TlbfDjSrMcN0%26p_p_lifecycle%3D0%26p_p_state%3Dpop_up%26p_p_mode%3Dview%26p_p_col_id%3Dcolumn-2%26p_p_col_count%3D2%26_101_INSTANCE_TlbfDjSrMcN0_struts_action%3D%252Fasset_publisher%252Fadd_asset_redirect&_15_groupId=10180&_15_articleId=10457&_15_version=1.0&_15_languageId=en_US generates exception: com.liferay.portlet.journal.NoSuchArticleException: No approved JournalArticl
      e exists with the key {groupId=10180, articleId=10457}
      23:05:36,782 ERROR [IncludeTag:154] com.liferay.portlet.journal.NoSuchArticleException: No approved JournalArticle exists with the key {groupId=10180, articleId=10457}
              at com.liferay.portlet.journal.service.impl.JournalArticleLocalServiceImpl.getDisplayArticle(JournalArticleLocalServiceImpl.java:1272)
              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.journal.service.JournalArticleLocalServiceUtil.getDisplayArticle(JournalArticleLocalServiceUtil.java:691)
              at com.liferay.portlet.journal.asset.JournalArticleAssetRendererFactory.getAssetRenderer(JournalArticleAssetRendererFactory.java:80)
              at com.liferay.portlet.asset.model.BaseAssetRendererFactory.getAssetRenderer(BaseAssetRendererFactory.java:59)
              at org.apache.jsp.html.portlet.journal.article.display_005fpage_jsp._jspService(display_005fpage_jsp.java:1718)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
              at com.liferay.portal.kernel.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:45)
              at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:323)
              at com.liferay.taglib.util.IncludeTag._doInclude(IncludeTag.java:418)
              at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:92)
              at org.apache.jsp.html.taglib.ui.form_005fnavigator.page_jsp._jspService(page_jsp.java:509)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
              at com.liferay.portal.kernel.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:45)
              at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:323)
      

        Attachments

          Activity

            People

            • Assignee:
              justin.choi Justin Choi
              Reporter:
              justin.choi Justin Choi
              Participants of an Issue:
              Recent user:
              Esther Sanz
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 27 weeks, 4 days ago