Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-53372

Unable to Import large Word Document to Confluence

    XMLWordPrintable

Details

    Description

      Summary

      Users are unable to import Word Documents to be used as Confluence Pages in their instance

      Environment

      • 1000.383.0

      Steps to Reproduce

      1. Create a page in Confluence or go to an existing page (you want to view the page, not edit it).
      2. Choose > Import Word Document
      3. Choose Browse and locate the Word document you want to import then choose Next.
        The import document options appear.
      4. Enter a title for the new page
      5. Choose where you want to import the file - used Import as a new page in the current space
      6. Choose how to handle title conflicts - used Rename imported pages if page name already exists
      7. Choose whether to create a single page or multiple pages based on the heading styles in the file (this option is only available if the file contains heading styles). - N/A as example document did not contain heading styles (verified for other customer where the import fails if you choose split based on headings)
      8. Click Import.

      Expected Results

      Page is imported successfully

      Actual Results

      NPE is generated and displayed on page:

      Cause
      
      java.lang.NullPointerException
          at com.benryan.webwork.WordImportAction.resolveTitleConflicts(WordImportAction.java:661)
      h3. Notes
      

      It appears if the Word Document is attached and the Office Word Macro is utilized, the document can be displayed

      Workaround

      None

      Attachments

        Issue Links

          Activity

            People

              akashyap@atlassian.com Anand Kashyap
              ashohaimi Syauqi (Inactive)
              Votes:
              17 Vote for this issue
              Watchers:
              28 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: