-
Notifications
You must be signed in to change notification settings - Fork 49
Closed
Labels
Description
When submitting an issue please include:
- Which version you are running of the software you are running
5.0.6 - Which operating system you are running on
Mac OS X High Sierra - If available Attach all logs, and or output, and or screenshots
Please format it in the given when then style
For example (from link above):
Given
- With (folder) a folder with files to start the BagIt creation process using:
Path folder = Paths.get(bagFolder.toURI());
Collection algorithm = new ArrayList();
algorithm.add(StandardSupportedAlgorithms.MD5);
bvoolean includeHiddenFiles = false;
Bag bag = BagCreator.bagInPlace(folder, algorithm, includeHiddenFiles);
When
- I name one of the payload files "data" in /folder/
Then
- Shouldn't I get a bag with a file named "data" in the "data/" payload folder?
- I do instead get an FileAlreadyExistsException, that the file "data" already is existing.
If
- there is a spec that no files called "data" must be added to the payload, everythin is OK but the error message :-)