-
Notifications
You must be signed in to change notification settings - Fork 10
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
500 server error on file download #242
Comments
I can reproduce this error on the demo page: https://demo.open-datenschutzcenter.de/datenweitergabe/download/94
|
Hello, this seems to be a weird problem. |
In #142 the library league/flysystem was updated to v2. The API for getting the mime type with (docs v1) $response = $filesystem->getMimetype($path); was changed to (docs v2): try {
$mimeType = $filesystem->mimeType($path);
} catch (FilesystemException | UnableToRetrieveMetadata $exception) {
// handle the error
} In #163 there was made adjustments for v2, but these were not enough. |
I've created #245 to fix this issue. |
Hallo @Art4, vielen dank für diene Mithilfe. Wir waren die letzte Woche nicht im Büro, weshalb deine PRs liegen geblieben sind. |
Describe the bug
I can not download a file I've uploaded within a data processing.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The file should be downloaded or viewed.
Screenshots
Additional context
The click starts a request to
https://app.open-datenschutzcenter.de/datenweitergabe/download/<id>
(int Id redacted) and the server replies with a 500 Server error.The text was updated successfully, but these errors were encountered: