When a user has a dash character in a filename for upload like:
my_sample_1+filename-1.JPG
The file will not be loaded since the validator strips dashes in filenames.
The reason for this is that there is an option to use the filename as the
identifier for the Photo Record. The ARK system will strip the dash from the
filename and not resolve the identifier.
The fix for this issue is to either throw a warning to the user like:
"Invalid characters found in filenames: my_sample_1+filename-1.JPG"
OR,
if the user accepts "Auto Generate IDs" to NOT check for the validity of the filename
which is the part that is throwing the error... See BulkPhotoLoader.java line 85 for the
part where the error is thrown.
When a user has a dash character in a filename for upload like:
my_sample_1+filename-1.JPG
The file will not be loaded since the validator strips dashes in filenames. The reason for this is that there is an option to use the filename as the identifier for the Photo Record. The ARK system will strip the dash from the filename and not resolve the identifier.
The fix for this issue is to either throw a warning to the user like: "Invalid characters found in filenames: my_sample_1+filename-1.JPG"
OR,
if the user accepts "Auto Generate IDs" to NOT check for the validity of the filename which is the part that is throwing the error... See BulkPhotoLoader.java line 85 for the part where the error is thrown.