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

DDM Form builder missing when adding or editing document types

    Details

      Description

      Reproduced on:
      Tomcat 8.0.30 + MySQL 5.6.25. Portal master GIT ID: 1a470aa1dd88dd7d89c086553476c7a811bb6c17.

      Steps to Reproduce:

      1. Go to Liferay > Content > Documents and Media
      2. Click portlet settings ellipsis > Document Types
      3. "Add" new document type
      4. View DDM form builder

      Expected Result:
      DDM form builder is present and fields can be added.

      Actual Result:
      DDM form builder is missing.
      Console throws:

      16:17:09,625 ERROR [http-nio-9080-exec-8][IncludeTag:128] Current URL /group/guest/~/control_panel/manage?p_p_id=com_liferay_document_library_web_portlet_DLAdminPortlet&p_p_lifecycle=0&p_p_state=pop_up&p_p_mode=view&_com_liferay_document_library_web_portlet_DLAdminPortlet_redirect=http%3A%2F%2Flocalhost%3A9080%2Fgroup%2Fguest%2F~%2Fcontrol_panel%2Fmanage%3Fp_p_id%3Dcom_liferay_document_library_web_portlet_DLAdminPortlet%26p_p_lifecycle%3D0%26p_p_state%3Dpop_up%26p_p_mode%3Dview%26_com_liferay_document_library_web_portlet_DLAdminPortlet_mvcPath%3D%252Fdocument_library%252Fview_file_entry_type.jsp%26_com_liferay_document_library_web_portlet_DLAdminPortlet_includeBasicFileEntryType%3Dfalse%26_com_liferay_document_library_web_portlet_DLAdminPortlet_includeBasicFileEntryType%3Dfalse&_com_liferay_document_library_web_portlet_DLAdminPortlet_mvcPath=%2Fdocument_library%2Fedit_file_entry_type.jsp&_com_liferay_document_library_web_portlet_DLAdminPortlet_includeBasicFileEntryType=false&p_p_ajax=0&p_p_isolated=1 generates exception: java.lang.NullPointerException
      java.lang.NullPointerException
      	at org.apache.jsp.form_005fbuilder_jsp._jspService(form_005fbuilder_jsp:432)
      	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.servlet.jsp.compiler.JspServlet.service(JspServlet.java:308)
      	at com.liferay.portal.servlet.jsp.compiler.JspServlet.service(JspServlet.java:319)
      	at com.liferay.portal.portlet.tracker.internal.PortletTracker$JspServletWrapper.service(PortletTracker.java:1426)
      	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:1461)
      	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 com.liferay.portal.portlet.tracker.internal.PortletTracker$RestrictPortletServletRequestFilter.doFilter(PortletTracker.java:1461)
      	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:71)
      	at org.eclipse.equinox.http.servlet.internal.context.DispatchTargets.doDispatch(DispatchTargets.java:98)
      

      The form builder is present in DDL data definitions, WCM structures, and when adding a Metadata set in DM

        Attachments

          Activity

            People

            • Assignee:
              victor.ware Victor Ware
              Reporter:
              victor.ware Victor Ware
              Participants of an Issue:
              Recent user:
              Esther Sanz
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 32 weeks ago

                Packages

                Version Package
                7.0.0 Beta 6