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

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 12.10.4
    • Office
    • None
    • Office server: LibreOffice 6.2
    • Unknown

    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

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

            Dates

              Created:
              Updated: