[BUG] Non-CSV Files Uploaded Without Error Message or Validation #2112
Labels
kind/bug
Categorizes issue or PR as related to a bug.
needs-priority
Indicates an issue or PR lacks a `priority/foo` label and requires one.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
Is there an existing issue for this?
Konveyor version
latest
Priority
Undefined
Current Behavior
When uploading a file that is not in CSV format, the file is accepted and displayed in the file list without triggering any error. However, when attempting to drag and drop the non-CSV file, the file is not uploaded, and an error message correctly appears, stating that only CSV files are supported.
Expected Behavior
The application should validate the file format during both standard uploads and drag-and-drop actions, ensuring that non-CSV files are rejected immediately with a corresponding error message.
How Reproducible
Always (Default)
Steps To Reproduce
Then, click OK (When the file selection window opens, change the file type filter to "All Files" to allow the selection of non-CSV files).
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: