Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-18853

Doc Import stuck in loop when duplicate titles are included in the Word Document

    XMLWordPrintable

Details

    Description

      Using the Doc Import on a word document with the following structure seems to throw the Doc Importer into a loop:

      I. Section 1
      II. Section 2
      III. FAQ
      I. Section 4
      II. Section 5
      III. FAQ
      

      It appears stuck here:

      "http-8080-5" daemon prio=1 tid=0x0a27a420 nid=0x478a runnable [0x768ca000..0x768cd0a0]
              at java.lang.StringBuilder.append(StringBuilder.java:213)
              at com.benryan.dom.ImportTitleResolver.resolveTitle(ImportTitleResolver.java:67)
              at com.benryan.webwork.WordImportAction.resolveTitleConflicts(WordImportAction.java:672)
              at com.benryan.webwork.WordImportAction.doFileImport(WordImportAction.java:349)
              at com.benryan.webwork.WordImportAction.executeFileImport(WordImportAction.java:158)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      

      This is importing with Advanced Options with the option "Rename Duplicate Titles" checked with Split in 3 levels.

      Office Connector plugin
      Vendor: Atlassian Pty Ltd
      Plugin Version: 1.6 (Studio)
      

      Attachments

        Issue Links

          Activity

            People

              dkjellin Daniel
              davidyu David Yu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: