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

MB replies are nested inside the last reply of the page

    Details

      Description

      Steps to reproduce:

      1. Start portal with pagination for mb replies set to 5 by adding this line to portal-ext
        discussion.comments.delta.value=5
      2. Add message boards portlet to page
      3. Add message boards thread
      4. Add more than 5 replies to thread
      5. View message boards thread
      6. Click on more messages button to view the rest of the replies

      Expected result: All thread replies are displayed as separate replies 
      Actual result: Replies are usually nested under the last reply on the page. Please see attached gif/image.

      2018-08-03 00:23:32.732 ERROR [http-nio-8080-exec-1][IncludeTag:128] Current URL /group/guest/~/control_panel/manage?p_p_id=com_liferay_message_boards_web_portlet_MBAdminPortlet&p_p_lifecycle=2&p_p_state=maximized&p_p_mode=view&p_p_resource_id=%2Fmessage_boards%2Fget_messages&p_p_cacheability=cacheLevelPage&_com_liferay_message_boards_web_portlet_MBAdminPortlet_messageId=36640&_com_liferay_message_boards_web_portlet_MBAdminPortlet_messageId=36640&_com_liferay_message_boards_web_portlet_MBAdminPortlet_mvcRenderCommandName=%2Fmessage_boards%2Fview_message generates exception: java.lang.NullPointerException
      java.lang.NullPointerException
              at org.apache.jsp.message_005fboards.view_005fthread_005fmessage_jsp._jspService(view_005fthread_005fmessage_jsp:1793)
              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:344)
              at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:355)
              at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:153)
              at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java: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.servlet.DirectServletPathRegisterDispatcher.include(DirectServletPathRegisterDispatcher.java:67)
              at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:78)
              at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
              at com.liferay.taglib.util.IncludeTag.includePage(IncludeTag.java:382)
              at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:359)
              at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:212)
              at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:89)
      

      Reproduced on:
      Tomcat 9.0.6 + MySQL 5.7
      Portal master GIT ID: ce0eaabbe6e7bc573d865b63c57db27d0665f338
      Portal 7.1.x GIT ID: bf13035c5f6ad2175673fdd56b53187650594179

        Attachments

        1. LPS-84112.gif
          LPS-84112.gif
          1.05 MB
        2. LPS-84112.png
          LPS-84112.png
          72 kB

          Issue Links

            Activity

              People

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

                Dates

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

                  Packages

                  Version Package
                  7.1.10 DXP FP1
                  7.1.1 CE GA2
                  7.1.10.1 SP1
                  7.1.X
                  Master