Skip to content

Handle potential hard exception in Asset@getImageUrl method #16916

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

Merged
merged 3 commits into from
May 14, 2025

Conversation

marcusmoore
Copy link
Collaborator

This PR fixes a bug where bad data (an asset not having a model) can cause a 500 when accessing the asset's image.

I also backfilled the tests for the getImageUrl method

@marcusmoore marcusmoore requested a review from snipe as a code owner May 12, 2025 18:58
@snipe snipe merged commit ab1053e into grokability:develop May 14, 2025
7 of 8 checks passed
@marcusmoore marcusmoore deleted the bug/sc-29153 branch May 14, 2025 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants