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

Unable to publish DDL Record with nested field

    Details

    • Fix Priority:
      5
    • Sprint:
      Sprint 2: Oct, 13 - Oct, 23

      Description

      Steps to reproduce:

      1. Add Dynamic Data Lists Display portlet
      2. Click "Add List" on the portlet
      3. Fill out name field with "Test Data Definition"
      4. Select Data Definition
      5. Add new Data Definition
        • Nest a select field within a text field
      6. Save
      7. Choose the Data Definition created
      8. Save
      9. Click "Add Test Data Definition" from Portlet
      10. Fill out Text and Select fields and Publish

      Expected Result:
      Record table shows with the entry that was created.

      Actual Result:
      Entry isn't published, but success message shows.

      Console error:

      22:32:42,494 ERROR [http-bio-8080-exec-1][IncludeTag:128] Current URL /web/guest/test-page?p_p_id=com_liferay_dynamic_data_lists_web_portlet_DDLDisplayPortlet_INSTANCE_tPxzy5KH6LRm&p_p_lifecycle=0&p_p_state=normal&p_p_mode=view&p_p_col_id=column-1&p_p_col_count=1 generates exception: java.lang.NullPointerException
      java.lang.NullPointerException
              at com.liferay.dynamic.data.mapping.render.impl.BaseListDDMFormFieldValueRenderer$1.getDDMFormFieldOptionLabel(BaseListDDMFormFieldValueRenderer.java:84)
              at com.liferay.dynamic.data.mapping.render.impl.BaseListDDMFormFieldValueRenderer$1.get(BaseListDDMFormFieldValueRenderer.java:53)
              at com.liferay.dynamic.data.mapping.render.impl.BaseListDDMFormFieldValueRenderer$1.get(BaseListDDMFormFieldValueRenderer.java:42)
              at com.liferay.portal.kernel.util.ListUtil.toString(ListUtil.java:546)
              at com.liferay.dynamic.data.mapping.render.BaseDDMFormFieldValueRenderer.render(BaseDDMFormFieldValueRenderer.java:43)
              at org.apache.jsp.view_005frecords_jsp._jspService(view_005frecords_jsp.java:1003)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
              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:731)
              at com.liferay.portal.servlet.jsp.compiler.JspServlet.service(JspServlet.java:274)
              at com.liferay.portal.servlet.jsp.compiler.JspServlet.service(JspServlet.java:285)
              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.portlet.tracker.internal.PortletTracker$RestrictPortletServletRequestFilter.doFilter(PortletTracker.java:1445)
              at org.eclipse.equinox.http.servlet.internal.registration.FilterRegistration.doFilter(FilterRegistration.java:118)
              at org.eclipse.equinox.http.servlet.internal.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:45)
              at com.liferay.portal.portlet.tracker.internal.PortletTracker$RestrictPortletServletRequestFilter.doFilter(PortletTracker.java:1445)
      

      Reproduced on:
      Tomcat 7.0.62 + MySQL 5.6.26 Portal master GIT ID: 42459d7ea9faa3529832eff533a0441595142d49

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                brian.lee Brian Lee
                Reporter:
                brian.lee Brian Lee
                Participants of an Issue:
                Recent user:
                Brian Wulbern
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  4 years, 38 weeks ago

                  Packages

                  Version Package
                  7.0.0 Alpha 2