MarcusBarnes / mik

The Move to Islandora Kit is an extensible PHP command-line tool for converting source content and metadata into packages suitable for importing into Islandora (or other digital repository and preservations systems).
GNU General Public License v3.0
34 stars 11 forks source link

Misleading results from checkconfig #484

Open bondjimbond opened 6 years ago

bondjimbond commented 6 years ago

In the FILE_GETTER section of a given MIK INI file, put a nonexistent directory under input_directory = and run --checkconfig all.

The result will tell you that the input_directory doesn't exist, but MIK will create one.

This is obviously wrong, since MIK isn't going to create your input directory -- but if you're just skimming for errors, you won't pick it up (since the message is identical to that for a missing output_directory, which does get created automatically in some toolchains).

The message should instead be an error, and not incorrectly say that the input_directory will be created.