-
Notifications
You must be signed in to change notification settings - Fork 269
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
Bug when getting artifact version by content if artifact has multiple versions with identical content #2357
Labels
Comments
EricWittmann
added
type/bug
Something isn't working
component/registry
priority/blocker
labels
Mar 21, 2022
Here is the stack trace for this issue.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The SQL for this assumes that there is at most one version of an artifact with matching content. If the user uploads multiple versions with the same content, that assumption will fail and result in a 500 error. The fix is to return the most recent version that matches the content (if one exists at all).
The text was updated successfully, but these errors were encountered: