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

Versions tab shows broken image for empty files #37067

Closed
Tracked by #38431
juliusknorr opened this issue Mar 7, 2023 · 0 comments · Fixed by #38467
Closed
Tracked by #38431

Versions tab shows broken image for empty files #37067

juliusknorr opened this issue Mar 7, 2023 · 0 comments · Fixed by #38467
Assignees
Labels
1. to develop Accepted and waiting to be taken care of 26-feedback bug

Comments

@juliusknorr
Copy link
Member

When a version file is empty or the preview could not be generated it currently loads a 404 image which some browsers render as a broken preview:

Screenshot 2023-03-07 at 08 53 44

Best would be to have a fallback image for empty files or if the onerror handler for the image tag triggers.

cc @artonge since you worked on the vue rewrite if i remember correctly

@juliusknorr juliusknorr added bug 1. to develop Accepted and waiting to be taken care of 26-feedback labels Mar 7, 2023
@artonge artonge self-assigned this Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop Accepted and waiting to be taken care of 26-feedback bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants