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

When staging is active, web contents can not be edited

    Details

      Description

      Once staging is active, you can not edit previously created web contents.

      Steps to reproduce:

      1. Start a clean bundle
      2. Create a new blank site
      3. Create a page
      4. Create a few basic web contents
      5. Activate staging for that site
      6. Try to edit any of the previously existing web contents

       Expected result: I can edit the existing contents

       Actual result: content can not be edited. The following exception is thrown

      2018-06-14 08:54:44.211 ERROR [http-nio-8080-exec-9][IncludeTag:128] Current URL /es/group/ticket-1-staging/~/control
      _panel/manage?p_p_id=com_liferay_journal_web_portlet_JournalPortlet&p_p_lifecycle=1&p_p_state=pop_up&p_p_mode=view&refe
      rerPlid=51646&_com_liferay_journal_web_portlet_JournalPortlet_mvcPath=%2Fedit_article.jsp&_com_liferay_journal_web_port
      let_JournalPortlet_ddmStructureKey=BASIC-WEB-CONTENT&p_p_auth=DNQBqdfY generates exception: Unable to include /article/
      display_page.jsp
      java.lang.NullPointerException
             at com.liferay.journal.web.internal.display.context.EditArticleDisplayPageDisplayContext.getAssetDisplayPageTyp
      e(EditArticleDisplayPageDisplayContext.java:163)
             at com.liferay.journal.web.internal.display.context.EditArticleDisplayPageDisplayContext.isAssetDisplayPageType
      Default(EditArticleDisplayPageDisplayContext.java:347)
             at org.apache.jsp.article.display_005fpage_jsp._jspService(display_005fpage_jsp.java:533)
             at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
             at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411)
             at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473)
             at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
             at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:345)
             at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:356)
             at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.jav
      a:153)
             at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.j
      ava:62)
             at org.eclipse.equinox.http.servlet.internal.context.DispatchTargets.doDispatch(DispatchTargets.java:118)
             at org.eclipse.equinox.http.servlet.internal.servlet.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.
      java:48)
             at com.liferay.portal.kernel.servlet.taglib.ui.BaseJSPFormNavigatorEntry.include(BaseJSPFormNavigatorEntry.java
      :51)
             at org.apache.jsp.form_005fnavigator.sections_jsp$2.renderHTML(sections_jsp.java:343)
             at com.liferay.taglib.util.PortalIncludeUtil.include(PortalIncludeUtil.java:43)
             at org.apache.jsp.form_005fnavigator.sections_jsp._jspService(sections_jsp.java:338)
             at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)

       

      If you create new contents, you can edit them.

        Attachments

          Activity

            People

            • Assignee:
              kyle.miho Kyle Miho
              Reporter:
              alberto.montero Alberto Montero
              Participants of an Issue:
              Recent user:
              Brian Wulbern
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 26 weeks, 1 day ago

                Packages

                Version Package
                7.1.X
                Master