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

hidden folder in data directory of bag failing validation check #122

Open
chinuhub opened this issue Jul 11, 2018 · 1 comment · May be fixed by #125
Open

hidden folder in data directory of bag failing validation check #122

chinuhub opened this issue Jul 11, 2018 · 1 comment · May be fixed by #125

Comments

@chinuhub
Copy link

Given

  • I have a bag
  • And I add a hidden folder in the data direcotry of this bag

When

  • I run bag.isValid()

Then

  • the visit method of class PayloadFileExistsInAtLeastOneManifestVistor throws exception saying that 'this hidden folder is in payload directory but not in any manifest directory'. This happens even after passing a parameter in isValid that says to ignore hidden files.
@jscancella
Copy link
Contributor

@chinuhub can you create a simple test that recreates the problem?

@jscancella jscancella linked a pull request Jul 27, 2018 that will close this issue
rvanheest pushed a commit to DANS-KNAW/dans-bagit-lib that referenced this issue Feb 20, 2019
… if file is in at least one manifest when option is enabled
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 a pull request may close this issue.

2 participants