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

DDL - Web Content field type cannot be populated on page and breaks record viewing

    Details

      Description

      Reproduced on:
      Tomcat 8.0.32 + MySQL 5.6.29. Portal master GIT ID: 20c7f396ed59d20d81bbb42d4359f1ab7cbce5cc.

      Steps to Reproduce:

      1. Add Dynamic Data Lists Display portlet to the welcome page
      2. Add List
      3. Input Name
      4. Click "Select" for data definition
      5. Add new data definition with Web Content field
      6. Choose newly created data definition
      7. Save new list
      8. Go to Dynamic Data Lists Display
      9. Add new record
      10. Click "Select" for Web Content Field
        • Expected Result: Web Content can be selected
        • Actual Result: Portlet gives message, "You do not have the roles required to access this portlet."
      11. Publish blank record
      12. View records in Dynamic Data Lists Display portlet
        • Expected Result: Records are rendered.
        • Actual Result: No records are rendered. Error thrown
          18:43:51,624 ERROR [http-nio-9080-exec-4][IncludeTag:128] Current URL /web/guest/home?p_p_id=com_liferay_dynamic_data_lists_web_portlet_DDLDisplayPortlet_INSTANCE_iyFXOWMGbGYX&p_p_lifecycle=0&p_p_state=normal&p_p_mode=view&p_p_col_id=column-1&p_p_col_count=2 generates exception: java.lang.NullPointerException
          java.lang.NullPointerException
          	at org.apache.jsp.view_005frecords_jsp._jspService(view_005frecords_jsp:1018)
          	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:399)
          	at com.liferay.portal.osgi.web.servlet.jsp.compiler.JspServlet.service(JspServlet.java:410)
          	at com.liferay.portal.osgi.web.servlet.context.helper.internal.JspServletWrapper.service(JspServletWrapper.java:70)
          	at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:153)
          	at org.eclipse.equinox.http.servlet.internal.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:50)
          	at com.liferay.portal.osgi.web.servlet.context.helper.internal.ServletContextHelperRegistrationImpl$RestrictPortletServletRequestFilter.doFilter(ServletContextHelperRegistrationImpl.java:447)
          	at org.eclipse.equinox.http.servlet.internal.registration.FilterRegistration.doFilter(FilterRegistration.java:121)
          	at org.eclipse.equinox.http.servlet.internal.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:45)
          	at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:70)
          	at org.eclipse.equinox.http.servlet.internal.context.DispatchTargets.doDispatch(DispatchTargets.java:119)
          	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)
          

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 6 weeks, 2 days ago

                Packages

                Version Package
                7.0.1 CE GA2