bagit-java icon indicating copy to clipboard operation
bagit-java copied to clipboard

hidden folder in data directory of bag failing validation check

Open chinuhub opened this issue 7 years ago • 1 comments

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.

chinuhub avatar Jul 11 '18 19:07 chinuhub

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

jscancella avatar Jul 12 '18 18:07 jscancella