Bug 1358727

Summary: image upload - no validation for file selection
Product: [oVirt] ovirt-engine Reporter: Daniel Erez <derez>
Component: Frontend.WebAdminAssignee: Daniel Erez <derez>
Status: CLOSED CURRENTRELEASE QA Contact: Natalie Gavrielov <ngavrilo>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.0.2CC: acanan, amureini, bugs, gklein, sbonazzo
Target Milestone: ovirt-4.0.2Flags: rule-engine: ovirt-4.0.z+
rule-engine: planning_ack+
amureini: devel_ack+
acanan: testing_ack+
Target Release: 4.0.2.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-12 14:25:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Daniel Erez 2016-07-21 11:39:26 UTC
Description of problem:
On 'Image Upload' dialog, when no file is selected, there's no validation and indication upon pressing the OK button.

How reproducible:
100%

Steps to Reproduce:
1. Open 'Image Upload' dialog
2. Press OK
3.

Actual results:
No error message or any indication.

Expected results:
A proper message that a file should be selected.

Additional info:

Comment 1 Natalie Gavrielov 2016-08-02 13:11:01 UTC
Now getting a message saying: "Please choose a file to upload"
Verified:
rhevm-4.0.2.3-0.1.el7ev.noarch
ovirt-imageio-proxy-0.3.0-0.el7ev.noarch
ovirt-imageio-common-0.3.0-0.el7ev.noarch