Open ane-gabriela opened 9 months ago
Issue reproducing on Cloud XWiki 1510.8 and local instance, File Manager Application (Pro) 2.8, Chrome 125, Windows 11
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]
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:
Expected results: The document uploaded is shown in the wiki page and in the attachments section.
Actual results:
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![Doc with special chars](https://github.com/xwikisas/application-filemanager/assets/40691112/86b4022a-24a5-484e-bdeb-1ec20f07e210)
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."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."
![Attachments Are Empty](https://github.com/xwikisas/application-filemanager/assets/40691112/139d7e89-219b-4333-bbf5-fb3304c88a0e)
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