Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ane-gabriela opened this issue Nov 28, 2023 · 1 comment
Open

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

ane-gabriela opened this issue Nov 28, 2023 · 1 comment

Comments

@ane-gabriela
Copy link

ane-gabriela commented Nov 28, 2023

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

@ane-gabriela ane-gabriela changed the title Issues with special chars in the names of office, mp3, mp4 files Issues with special chars in the names of office Jun 12, 2024
@ane-gabriela ane-gabriela changed the title Issues with special chars in the names of office Issues with special chars in the names of office files Jun 12, 2024
@ane-gabriela
Copy link
Author

ane-gabriela commented Jun 12, 2024

Issue reproducing on Cloud XWiki 1510.8 and local instance, File Manager Application (Pro) 2.8, Chrome 125, Windows 11

XLSXFileManager

In the local wiki console 2024-06-12 16:53:55,093 [qtp1413246829-69 - http://localhost:8080/xwiki/bin/view/FileManager/Te%24t%20with%20%23special%20%2B%20ch%40rs%20-%20test.%20It's%20%5Ea%20test!%20Test%20~1%20%3D%20and%20(2)%20%26%20%7B3%7D%2C%20%5B4%5D.%20100%25%20a%20test%201%3B%202%60%203%3B%205.%20%20%20%20%20%20%20%20%20%20and%2010%20spaces..xlsx] ERROR o.a.v.rendering - Left side ($paths.length) of comparison operation has null value at xwiki:FileManagerCode.RecentFilesMacro[line 5, column 21]

DOCXFM

PPTFM

PPTXFM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants