Skip to content

Issues with special chars in the names of office files #93

@ane-gabriela

Description

@ane-gabriela

It seems that the ticket Files with punctuation marks can't be accessed fixed only the PDF files with special chars issue. The office files with special chars and the attachments section of videos and mp3 remain.

Steps to reproduce:

  1. Click on File Manager
  2. Upload office files and mp4 with special characters ex. the name of the file should be "Te$t with #special + ch@rs - test. It's ^a test! Test ~1 = and (2) & {3}, [4]. 100% a test 1; 2` 3; 5. and 10 spaces." https://up1.xwikisas.com/#CFSVxNrKPjbBddzT6ZfdTA
  3. Access the uploaded file
  4. Click on Attachments

Expected results: The document uploaded is shown in the wiki page and in the attachments section.

Actual results:

  1. The mp4 and mp3 files are working but the office documents aren't shown at all "Failed to execute the [office] macro. Cause: [Attachment [Attachment xwiki:FileManager.Te$t with #special + ch@rs - test. It's ^a test! Test ~1 = and (2) & {3}, [4]. 100% a test 1; 2 3; 5\. and 10 spaces\.\.docx@Te$t with #special + ch\@rs - test. It's ^a test! Test 1 = and (2) & {3}, [4]. 100% a test 1; 2 3; 5. and 10 spaces..docx] does not exist.]. Click on this message for details."
    Doc with special chars

  2. For the office docs and also the mp4 and mp3 files the attachments tab is empty and the following error appears "Updating the entries failed for an unknown reason."
    Video with special chars
    Attachments Are Empty

  3. There are many errors and warnings in the wiki console while uploading and accessing this documents https://up1.xwikisas.com/#9KtaPAAmrgff2Zo1yI5glg

Environment: XWiki 14.10.18, File Manager Application (Pro) 2.6.1, Chrome 119, Windows 11

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions