digital-preservation / csv-validator

CSV Validation Tool and API (CSV Schema RI)
http://digital-preservation.github.io/csv-validator
Mozilla Public License 2.0
205 stars 55 forks source link

CSV Validator UI - Clicking “Validate” without selecting any file, gives you a vague “java.io.IOException: Is a directory” error #509

Open techncl opened 2 weeks ago

techncl commented 2 weeks ago

When you click “Validate” without selecting any file, you get “java.io.IOException: Is a directory” in the output. This error:

  1. does not tell you which of the 2 text boxes has the error
  2. might be vague for a normal person
  3. could be deceiving
  4. doesn’t clear when you change what’s in the text box
sparkhi commented 2 weeks ago

Might be easy to keep the "validate" button disabled if the text boxes are not populated.

techncl commented 1 week ago

That sounds like a good idea.