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

Categories Navigation portlet leads Documents and Media portlet in "Descriptive" style to break

    Details

      Description

      Reproduction steps:
      1) Start the server, login as Admin
      2) Go to left-side Product Navigation Menu > Liferay DXP > Categorization > Categories > Topic > Add one category, e.g. cat1
      3) Go to Liferay DXP > Content > Documents and Media > + icon (bottom-right) > Basic Document > Choose one document, then Categorization > Topic > add cat1 > Publish
      4) Go to the Welcome page and add a Documents and Media + a Categories Navigation portlets onto the page
      5) In the Documents and Media portlet, switch to "Descriptive" style (the icon to switch on top-right side of the portlet)
      6) Click on cat1 in the Categories Navigation portlet

      Expected: DM portlet to show all assets with cat1
      Actual behavior:

      • The file uploaded at step 3 will be shown, however the title will appear as {title}

        underneath

      • Server will print:
      ERROR [http-nio-8080-exec-3][IncludeTag:128] Current URL /web/guest/home/-/categories/32650 generates exception: java.lang.NullPointerException
      java.lang.NullPointerException
      	at org.apache.jsp.document_005flibrary.view_005ffile_005fentry_005fdescriptive_jsp._jspService(view_005ffile_005fentry_005fdescriptive_jsp:515)
      	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      	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:729)
      	at com.liferay.portal.osgi.web.servlet.jsp.compiler.JspServlet.service(JspServlet.java:417)
      	at com.liferay.portal.osgi.web.servlet.jsp.compiler.JspServlet.service(JspServlet.java:428)
      	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.search.JSPSearchEntry.print(JSPSearchEntry.java:76)
      	at org.apache.jsp.html.taglib.ui.search_005fiterator.lexicon.descriptive_jsp._jspService(descriptive_jsp.java:961)
      	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      

        Attachments

          Activity

            People

            Assignee:
            beck.liu Beck Liu
            Reporter:
            istvan.dezsi Istvan Dezsi
            Participants of an Issue:
            Recent user:
            Csaba Turcsan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 3 weeks, 5 days ago

                Packages

                Version Package
                7.0.0 DXP FP60
                7.0.0 DXP SP9
                7.0.X
                7.1.10 DXP FP3
                7.1.1 CE GA2
                7.1.10.1 SP1
                7.1.X
                Master