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

Form template having a Paragraph field can't be rendered

    Details

      Description

      Steps to Reproduce:

      1. Add a Dynamic Data List Display portlet to the Welcome page.
      2. Add a Dynamic Data List.
      3. Select a Data Definition.
      4. Save.
      5. Add a Form Template including in it a Paragraph field.
      6. Save.
      7. Add a record to the Dynamic Data List.

      Expected Result:
      FormTemplate is rendered correctly.

      Actual Result:
      FormTemplate is not being rendered.

      Console error:

      ERROR [RuntimePageImpl-1][IncludeTag:128] Current URL /web/guest/home?p_p_id=169_INSTANCE_npK3JMmSIm41&p_p_lifecycle=0&p_p_state=normal&p_p_mode=view&p_p_col_id=column-2&p_p_col_count=2&_169_INSTANCE_npK3JMmSIm41_recordSetId=20572&_169_INSTANCE_npK3JMmSIm41_formDDMTemplateId=20575&_169_INSTANCE_npK3JMmSIm41_formDDMTemplateId=20575&_169_INSTANCE_npK3JMmSIm41_redirect=http%3A%2F%2Flocalhost%3A8080%2Fweb%2Fguest%2Fhome%3Fp_p_id%3D169_INSTANCE_npK3JMmSIm41%26p_p_lifecycle%3D0%26p_p_state%3Dnormal%26p_p_mode%3Dview%26p_p_col_id%3Dcolumn-2%26p_p_col_count%3D2&_169_INSTANCE_npK3JMmSIm41_struts_action=%2Fdynamic_data_list_display%2Fedit_record&_169_INSTANCE_npK3JMmSIm41_spreadsheet=false&_169_INSTANCE_npK3JMmSIm41_displayDDMTemplateId=0&_169_INSTANCE_npK3JMmSIm41_editable=true&p_p_ajax=0&p_p_isolated=1 generates exception: null

      java.lang.NullPointerException
      at com.liferay.portlet.dynamicdatamapping.render.DDMFormRendererImpl.render(DDMFormRendererImpl.java:44)
      at com.liferay.portlet.dynamicdatamapping.render.DDMFormRendererUtil.render(DDMFormRendererUtil.java:37)
      at org.apache.jsp.html.taglib.ddm.html.start_jsp._jspService(start_jsp.java:666)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:57)
      at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:75)
      at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:52)
      at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:357)
      at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:206)
      at com.liferay.taglib.util.IncludeTag.doStartTag(IncludeTag.java:134)
      at com.liferay.taglib.ddm.base.BaseHTMLTag.doStartTag(BaseHTMLTag.java:30)
      at org.apache.jsp.html.portlet.dynamic_005fdata_005flists.edit_005frecord_jsp._jspService(edit_005frecord_jsp.java:1149)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:57)
      at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:75)
      at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:52)
      at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:357)
      at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:206)

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 9 weeks, 1 day ago

                Packages

                Version Package
                7.0.0 M5