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

" " appears when there is more than 1 space added in an imported document

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 12.10.4, 13.1
    • Fix Version/s: None
    • Component/s: Office
    • Labels:
      None
    • Environment:
      Windows 10, IE 11 and Chrome 88, XWiki 13.1, 12.10.4, 11.10.5
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Preconditions: LibreOffice 7.0.4 (2020-12-27) LTS must be configured and started.

      1. Create a new page and select "Page From Office" from Type box
      2. Browse for an Office document (.doc, .docx) that has empty spaces before/in between/after some text eg. use "007-[TEST]Images-Header-and-Footer-Tables-10Pages-DOC"
      3. Click Import
      4. Click on the result link

      Expected results: Document is imported, text is shown as per the imported file with the required empty spaces.

      Actual results: Where there more than 1 empty space, " " appears instead.

      NOTE: The import is working fine in XWiki 11.10.5, the issues appears on 12.10.4 and 13.1 (from my current testing).

      This issue reproduces the same way with LO 6.2.4.

      Issue doesn't reproduce if the text is just copy/pasted in a newly created page.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            ganechitoaei Gabriela Anechitoaei
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: