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

Git::Annotations with null git_version_id #1856

Open
fbacall opened this issue Apr 24, 2024 · 0 comments
Open

Git::Annotations with null git_version_id #1856

fbacall opened this issue Apr 24, 2024 · 0 comments

Comments

@fbacall
Copy link
Contributor

fbacall commented Apr 24, 2024

Possibly introduced with Workflow RO-Crate submission API - there are persisted git annotations with a null value for git_version_id.

This was detected because the uniqueness validation was failing:

validates :key, uniqueness: { scope: [:git_version_id, :path, :value] }

as it uses the nil git_version_id as part of the scope

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant