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

Unable to edit WCM structured content if image fields are used

    Details

      Description

      1. Add a structure (attached)
      2. Add a template related to it
      3. Add an article based on the structure (all fields should be filled)
      4. Edit the article but do not change the image field

      The following exception will be thrown

      11:54:16,424 ERROR [http-bio-8080-exec-4][render_portlet_jsp:154] java.lang.NullPointerException
      at com.liferay.portlet.journal.util.JournalConverterImpl.updateContentDynamicElement(JournalConverterImpl.java:415)
      at com.liferay.portlet.journal.util.JournalConverterImpl.updateContentDynamicElement(JournalConverterImpl.java:470)
      at com.liferay.portlet.journal.util.JournalConverterImpl.getContent(JournalConverterImpl.java:132)
      at com.liferay.portlet.journal.util.JournalConverterUtil.getContent(JournalConverterUtil.java:30)
      at com.liferay.portlet.journal.action.EditArticleAction.updateArticle(EditArticleAction.java:640)
      at com.liferay.portlet.journal.action.EditArticleAction.processAction(EditArticleAction.java:147)
      at com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:171)
      at com.liferay.portlet.StrutsPortlet.processAction(StrutsPortlet.java:216)
      at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:70)
      at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:48)
      at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:605)
      at com.liferay.portlet.InvokerPortletImpl.invokeAction(InvokerPortletImpl.java:636)
      at com.liferay.portlet.InvokerPortletImpl.processAction(InvokerPortletImpl.java:303)
      at com.liferay.portlet.PortletContainerImpl._doProcessAction(PortletContainerImpl.java:514)
      at com.liferay.portlet.PortletContainerImpl.processAction(PortletContainerImpl.java:119)
      at com.liferay.portlet.RestrictPortletContainerWrapper.processAction(RestrictPortletContainerWrapper.java:73)
      at com.liferay.portal.kernel.portlet.PortletContainerUtil.processAction(PortletContainerUtil.java:114)
      at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:356)
      at com.liferay.portal.action.LayoutAction.doExecute(LayoutAction.java:179)
      at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:81)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mark.jin Mark Jin (Inactive)
              Reporter:
              marcellus.tavares Marcellus Tavares
              Participants of an Issue:
              Recent user:
              Marta Elicegui
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 49 weeks, 6 days ago

                  Packages

                  Version Package
                  6.2.0 CE M5