omeka-s-modules / FileSideload

GNU General Public License v3.0
2 stars 3 forks source link

Disable sideload if "file_sideload_directory" is invalid #26

Closed jimsafley closed 1 year ago

jimsafley commented 2 years ago

Sideloading should be disabled if the"file_sideload_directory" setting is an invalid directory, null, or an empty string. If invalid, two things should happen: 1) the Sideload ingester media form should display a "Sideload directory must be configured" error instead of the file select menu; 2) during ingest, the Sideload ingester should add a "No sideload directory specified" error if trying to ingest a file using the ingester.

jimsafley commented 1 year ago

This is fixed with the recent addition of file and directory checks in the media ingesters.