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

Publishing an article in Web Content Display doesn't redirect the user to the published content

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: 6.2.0 CE RC1, 6.2.0 CE RC2
    • Fix Version/s: 6.2.0 CE RC1, 6.2.0 CE RC2
    • Labels:
      None
    • Environment:
      Tomcat 7 + MySQL 5. CentOS 6. Portal 6.2.0 CE RC1 GIT ID: aff38a86fde68ba80f4627a8ee8e91ee20105da1.
      Portal 6.2.x GIT ID: aff38a86fde68ba80f4627a8ee8e91ee20105da1.
    • Fix Priority:
      4

      Description

      Steps to reproduce:

      1. Hitting portal locally, via {ip}

        :8080 (but having portal running on the CentOS vm):

      2. Add a page, 'WCD Page'
      3. Begin adding a basic web content through the WCD portlet:
        • Give it a title and some content
        • Click Publish

      Expected result:
      WC will publish and it will navigate the user to the displayed content on the page.

      Actual result:
      Clicking publish gives no success message indicating that the content was published, the content disappears, and the title remains (see gif). Clicking Cancel afterward gives a "Web Content is temporarily unavailable." UI error message, and the following console error:

      00:39:05,047 WARN  [http-bio-8080-exec-6][PortletRequestProcessor:147] This URL can only be invoked using POST: /web/guest/wc-page?p_auth=avA1j5YA&p_p_auth=YBpz7Ikz&p_p_id=15&p_p_lifecycle=1&p_p_state=maximized&p_p_mode=view&_15_struts_action=%2Fjournal%2Fedit_article
      00:39:05,056 ERROR [http-bio-8080-exec-6][render_portlet_jsp:97] null
      com.liferay.portal.security.auth.PrincipalException: /web/guest/wc-page?p_auth=avA1j5YA&p_p_auth=YBpz7Ikz&p_p_id=15&p_p_lifecycle=1&p_p_state=maximized&p_p_mode=view&_15_struts_action=%2Fjournal%2Fedit_article
      	at com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:162)
      	at com.liferay.portlet.StrutsPortlet.processAction(StrutsPortlet.java:216)
      	at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:71)
      	at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:48)
      	at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:618)
      	at com.liferay.portlet.InvokerPortletImpl.invokeAction(InvokerPortletImpl.java:649)
      	at com.liferay.portlet.InvokerPortletImpl.processAction(InvokerPortletImpl.java:312)
      	at com.liferay.portlet.PortletContainerImpl._doProcessAction(PortletContainerImpl.java:402)
      	at com.liferay.portlet.PortletContainerImpl.processAction(PortletContainerImpl.java:110)
      	at com.liferay.portlet.SecurityPortletContainerWrapper.processAction(SecurityPortletContainerWrapper.java:108)
      	at com.liferay.portal.security.lang.DoPrivilegedHandler.doInvoke(DoPrivilegedHandler.java:88)
      	at com.liferay.portal.security.lang.DoPrivilegedHandler.invoke(DoPrivilegedHandler.java:56)
      	at com.liferay.portlet.RestrictPortletContainerWrapper.processAction(RestrictPortletContainerWrapper.java:75)
      	at com.liferay.portal.kernel.portlet.PortletContainerUtil.processAction(PortletContainerUtil.java:115)
      	at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:356)
      	at com.liferay.portal.action.LayoutAction.doExecute(LayoutAction.java:178)
      	at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:79)
      	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
      	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
      	at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:176)
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 47 weeks, 6 days ago

                Packages

                Version Package
                6.2.0 CE RC1
                6.2.0 CE RC2