Skip to content

[bug] file that appears as a folder #922

@Cripix

Description

@Cripix

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:

Image

On filestash:

Image

when you click on it:

Image

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:

Image

Expected behavior

It should display the files in the correct format instead of a folder.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions