keeps/commons-ip

Allow creation of SIPs without metadata

prettybits opened this issue · 0 comments

When not specifying any metadata file source in the CLI, SIP creation currently fails with

$ java -jar commons-ip2-cli-2.2.1.jar create -rd media
ERROR

The metadata file given does not exist

although no metadata was given. CSIPSTR5 is marked as SHOULD, so I believe this should work. I believe this may simply be because the return value of validateMetadataPaths() is the inverse of what it should be when metadataFile is null.