8000 ignore empty v1's when validating by pwinckles · Pull Request #52 · fcrepo/fcrepo-storage-ocfl · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ignore empty v1's when validating #52

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 1 commit into from
May 6, 2022
Merged

Conversation

pwinckles
Copy link
Collaborator

JIRA Ticket: https://fedora-repository.atlassian.net/browse/FCREPO-3822

What does this Pull Request do?

Updates the validation code to ignore empty OCFL v1's when validating. Empty v1s are only created when the mutable head extension is used to create a new object, and Fedora should ignore them.

How should this be tested?

  1. Disable auto-versioning, fcrepo.autoversioning.enabled
  2. Create a new resource
  3. Restart Fedora with a rebuild, fcrepo.rebuild.on.start

Before this change it should fail. After this change it should validate.

Interested parties

@fcrepo/committers

Copy link
Collaborator
@whikloj whikloj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@whikloj whikloj merged commit e07ce99 into fcrepo:main May 6, 2022
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
0