Details

      Description

      We have a journal article in a LAR that does not have a <dynamic-content /> tag. com.liferay.journal.util.impl.JournalUtil._mergeArticleContentUpdate() assumes that there is at least one <dynamic-content /> tag. Since there isn't any, it throws an IndexOutOfBoundsException which prepareLocalizedContentForImport traps and discards in the catch {} block and throws a LocaleException() instead.

      Current lines from master in _mergeArticleContentUpdate() that cause the exception read:

      		List<Element> elements = newElement.elements("dynamic-content");
      
      		Element newContentElement = elements.get(0);
      
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  2 years, 10 weeks, 2 days ago