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

Non existing files throw error 500: the thumbnail configuration could not be found #6446

Closed
medienbaecker opened this issue May 9, 2024 · 0 comments · Fixed by #6453
Closed
Assignees
Labels
type: bug 🐛 Is a bug; fixes a bug
Milestone

Comments

@medienbaecker
Copy link
Contributor

Description

Non-existing files trigger an error 500. I can reproduce this in any installation, also on getkirby.com:

https://getkirby.com/media/site/hello/error.pdf
https://getkirby.com/media/pages/features/hello/error.jpeg

Enabling debug modes shows this error message: The thumbnail configuration could not be found.

Expected behavior
A 404 should be returned instead.

Your setup

Kirby Version
4.2.0

@afbora afbora self-assigned this May 20, 2024
@afbora afbora added the type: bug 🐛 Is a bug; fixes a bug label May 20, 2024
afbora added a commit that referenced this issue May 20, 2024
afbora added a commit that referenced this issue May 22, 2024
@afbora afbora linked a pull request May 22, 2024 that will close this issue
5 tasks
@afbora afbora added this to the 4.3.0 milestone May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug 🐛 Is a bug; fixes a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants