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

Repeatable Fields Do Not Display in Web Content Display Portlet

    Details

      Description

      Steps to Reproduce:

      1. Add a structure
        • Make sure the field added is repeatable
      2. Add a template based on the structure
      3. Add a web content based on the structure/template
        • Repeat the field two additional times (total 3 instances of the field)
      4. Add a web content display portlet to the welcome page
        • Portlet is blank
      5. Select the web content to be displayed

      When attempting to edit the web content, NPE displays (related to LPS-29347)

      18:43:08,218 ERROR [http-bio-8080-exec-5][IncludeTag:206] Current URL /web/guest/home?p_p_auth=hOq7hIEY&p_p_id=15&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&p_p_col_id=column-1&p_p_col_count=2&_15_groupId=10178&_15_redirect=http%3A%2F%2Flocalhost%3A8080%2Fweb%2Fguest%2Fhome%3Fp_p_id%3D56_INSTANCE_XZm3daMJXuzL%26p_p_lifecycle%3D0%26p_p_state%3Dnormal%26p_p_mode%3Dview%26p_p_col_id%3Dcolumn-1%26p_p_col_count%3D2&_15_struts_action=%2Fjournal%2Fedit_article&_15_articleId=10453&_15_version=1.0 generates exception: null
      18:43:08,222 ERROR [http-bio-8080-exec-5][IncludeTag:154] java.lang.NullPointerException
              at com.liferay.portlet.dynamicdatamapping.util.DDMXSDImpl.getFieldHTML(DDMXSDImpl.java:135)
              at com.liferay.portlet.dynamicdatamapping.util.DDMXSDImpl.getHTML(DDMXSDImpl.java:237)
              at com.liferay.portlet.dynamicdatamapping.util.DDMXSDImpl.getHTML(DDMXSDImpl.java:283)
              at com.liferay.portlet.dynamicdatamapping.util.DDMXSDImpl.getHTML(DDMXSDImpl.java:264)
              at com.liferay.portlet.dynamicdatamapping.util.DDMXSDUtil.getHTML(DDMXSDUtil.java:93)
              at org.apache.jsp.html.taglib.ddm.html.start_jsp._jspService(start_jsp.java:546)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
              at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:55)
              at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:292)
              at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:200)
              at com.liferay.taglib.util.IncludeTag.doStartTag(IncludeTag.java:121)
              at com.liferay.taglib.ddm.base.BaseHTMLTag.doStartTag(BaseHTMLTag.java:30)
              at org.apache.jsp.html.portlet.journal.article.content_jsp._jspService(content_jsp.java:2687)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
              at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:55)
              at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:292)
              at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:200)
              at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:81)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              brian.wulbern Brian Wulbern
              Reporter:
              joshua.robins Joshua Robins (Inactive)
              Participants of an Issue:
              Recent user:
              Marta Elicegui
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 43 weeks, 1 day ago

                  Packages

                  Version Package
                  6.2.0 CE M4