Import word document fails with DuplicateDataRuntimeException when two or more titles with the same heading level contains special characters

XMLWordPrintable

    • 3
    • Severity 3 - Minor

      How to replicate

      • Have a word document with the following hierarchy:
        h1. Heading 1
        h2.   Heading 2:
        h2.   Heading 2:
        

        (note: h1. & h2. indicates the Heading level set in MS. Word)

      What is expected

      With the Title conflicts set to Rename imported pages if page name already exists, the outcome would be:

      h1. Heading 1
      h2.   Heading 2:
      h2.   Heading 2:0
      

      What actually happens:

      • Related to CONF-34864, Confluence renames ":" as "_"
      • A system error thrown:
        Cause
        com.atlassian.confluence.pages.DuplicateDataRuntimeException: A page already exists with the title Heading 2_ in the space with key TESC
            at com.atlassian.confluence.pages.DefaultPageManager.throwIfDuplicateAbstractPageTitle(DefaultPageManager.java:1132)
        
      • Nothing is imported to Confluence

            Assignee:
            Unassigned
            Reporter:
            Monique Khairuliana (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: