Skip to content

Dashes in photo upload filename mess things up  #71

@jdeck88

Description

@jdeck88

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions