Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dashes in photo upload filename mess things up #71

Open
jdeck88 opened this issue Nov 13, 2023 · 0 comments
Open

Dashes in photo upload filename mess things up #71

jdeck88 opened this issue Nov 13, 2023 · 0 comments

Comments

@jdeck88
Copy link
Member

jdeck88 commented Nov 13, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant