Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-18665

The page name strategy is not applied when performing an Office import with document split

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 12.10.4
    • Fix Version/s: None
    • Component/s: Office
    • Labels:
      None
    • Environment:
      Office server: LibreOffice 6.2
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Steps to reproduce

      • In section "Administration > Editing > Name strategies", select and save the "Preformatted names" strategy
      • In LibreOffice, create a document with several level 1 headings containing spaces, such as "Heading ABC" and "Heading DEF", then save it in ODT format
      • Create a page using type "Page from Office"
      • In the "Office Importer" screen, select the ODT file you just created, check "Split document" along level 1 headings, and hit "Import"

      Expected result

      The document sections are splitted into subpages named "Heading-ABC" and "Heading-DEF" (spaces got replaced by dashes).

      Actual result

      The resulting pages are named "Heading ABC" and "Heading DEF"

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            slauriere slauriere
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Date of First Response: