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

Fixed crash on Asset View if file doesn’t exist on server #11723

Merged

Conversation

snipe
Copy link
Owner

@snipe snipe commented Aug 24, 2022

This is kind of a gross way to handle this, but it should generally be kind of an edge case. Basically, if the database thinks there is a file attached, but the file can't be found on the server, it would crash on the filesize() method. Probably better to handle this a little better at the controller method down the line, but this at least prevents the crash.

@snipe snipe merged commit e2dec5d into develop Aug 24, 2022
@snipe snipe deleted the fixes/fail_with_error_when_uploaded_file_does_not_exist branch August 24, 2022 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant