# Description of the bug Word, PDF and Excel files that are viewed as folders through Filestash, which prevents them from being viewed or downloaded. The problem occurs randomly, and I haven't been able to figure out how to reproduce it. # Observed behavior On file server: <img width="771" height="194" alt="Image" src="https://github.com/user-attachments/assets/b8d906d8-0773-491d-bbe2-4f43fecaa06e" /> On filestash: <img width="1576" height="281" alt="Image" src="https://github.com/user-attachments/assets/5e38115d-0744-43bf-838e-20b28a878843" /> when you click on it: <img width="705" height="443" alt="Image" src="https://github.com/user-attachments/assets/252f57de-2bed-42ea-9e7a-e75f897ef1fe" /> Error : type: AjaxError code: INTERNAL_SERVER_ERROR message: Readdir XXXXXXXXXX\07 - Rapports d'activite et comptes rendus\07.02 - Réunions de suivi d'exploitation\R02 2024 12 04\XXXXXXXXXXXX-OdJR02.pdf: response error: An invalid parameter was passed to a service or function. trace: AjaxError@https://URL:444/assets/0f3173a1fe09ce8a5eac0c7a67d876d0cf7fae6a/lib/error.js:3:9 processError@https://URL:444/assets/0f3173a1fe09ce8a5eac0c7a67d876d0cf7fae6a/lib/ajax.js:94:16 default/<@https://URL:444/assets/0f3173a1fe09ce8a5eac0c7a67d876d0cf7fae6a/lib/ajax.js:38:35bn/</s<@https://URL:444/assets/0f3173a1fe09ce8a5eac0c7a67d876d0cf7fae6a/lib/vendor/rxjs/rxjs-shared.min.js:3:32970q/this._error<@https://URL:444/assets/0f3173a1fe09ce8a5eac0c7a67d876d0cf7fae6a/lib/vendor/rxjs/rxjs-shared.min.js:3:5798error@https://URL:444/assets/0f3173a1fe09ce8a5eac0c7a67d876d0cf7fae6a/lib/vendor/rxjs/rxjs-shared.min.js:3:2855_error@https://URL:444/assets/0f3173a1fe09ce8a5eac0c7a67d876d0cf7fae6a/lib/vendor/rxjs/rxjs-shared.min.js:3:3093error@https://URL:444/assets/0f3173a1fe09ce8a5eac0c7a67d876d0cf7fae6a/lib/vendor/rxjs/rxjs-shared.min.js:3:2855u@https://URL:444/assets/0f3173a1fe09ce8a5eac0c7a67d876d0cf7fae6a/lib/vendor/rxjs/rxjs-shared.min.js:3:52116e/Es</<@https://URL:444/assets/0f3173a1fe09ce8a5eac0c7a67d876d0cf7fae6a/lib/vendor/rxjs/rxjs-shared.min.js:3:52512 However, when the file is duplicated from the file server, it is displayed correctly on Filestash: <img width="791" height="335" alt="Image" src="https://github.com/user-attachments/assets/a4e64aaa-ded2-46a5-8001-1a9c559e041d" /> # Expected behavior It should display the files in the correct format instead of a folder.
Description of the bug
Word, PDF and Excel files that are viewed as folders through Filestash, which prevents them from being viewed or downloaded.
The problem occurs randomly, and I haven't been able to figure out how to reproduce it.
Observed behavior
On file server:
On filestash:
when you click on it:
Error :
type: AjaxError
code: INTERNAL_SERVER_ERROR
message: Readdir XXXXXXXXXX\07 - Rapports d'activite et comptes rendus\07.02 - Réunions de suivi d'exploitation\R02 2024 12 04\XXXXXXXXXXXX-OdJR02.pdf: response error: An invalid parameter was passed to a service or function.
trace: AjaxError@https://URL:444/assets/0f3173a1fe09ce8a5eac0c7a67d876d0cf7fae6a/lib/error.js:3:9
processError@https://URL:444/assets/0f3173a1fe09ce8a5eac0c7a67d876d0cf7fae6a/lib/ajax.js:94:16
default/<@https://URL:444/assets/0f3173a1fe09ce8a5eac0c7a67d876d0cf7fae6a/lib/ajax.js:38:35bn/</s<@https://URL:444/assets/0f3173a1fe09ce8a5eac0c7a67d876d0cf7fae6a/lib/vendor/rxjs/rxjs-shared.min.js:3:32970q/this._error<@https://URL:444/assets/0f3173a1fe09ce8a5eac0c7a67d876d0cf7fae6a/lib/vendor/rxjs/rxjs-shared.min.js:3:5798error@https://URL:444/assets/0f3173a1fe09ce8a5eac0c7a67d876d0cf7fae6a/lib/vendor/rxjs/rxjs-shared.min.js:3:2855_error@https://URL:444/assets/0f3173a1fe09ce8a5eac0c7a67d876d0cf7fae6a/lib/vendor/rxjs/rxjs-shared.min.js:3:3093error@https://URL:444/assets/0f3173a1fe09ce8a5eac0c7a67d876d0cf7fae6a/lib/vendor/rxjs/rxjs-shared.min.js:3:2855u@https://URL:444/assets/0f3173a1fe09ce8a5eac0c7a67d876d0cf7fae6a/lib/vendor/rxjs/rxjs-shared.min.js:3:52116e/Es</<@https://URL:444/assets/0f3173a1fe09ce8a5eac0c7a67d876d0cf7fae6a/lib/vendor/rxjs/rxjs-shared.min.js:3:52512
However, when the file is duplicated from the file server, it is displayed correctly on Filestash:
Expected behavior
It should display the files in the correct format instead of a folder.