Bug 1488853

Summary: While downloading disk the cancel/pause upload button should be disabled
Product: [oVirt] ovirt-engine Reporter: Natalie Gavrielov <ngavrilo>
Component: Frontend.WebAdminAssignee: Idan Shaby <ishaby>
Status: CLOSED CURRENTRELEASE QA Contact: Pavel Stehlik <pstehlik>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.2.0CC: aefrat, amureini, bugs, ishaby, tnisan
Target Milestone: ovirt-4.2.0Flags: rule-engine: ovirt-4.2+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-4.2.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-20 10:46:01 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:
Attachments:
Description Flags
snapshots none

Description Natalie Gavrielov 2017-09-06 10:40:20 UTC
Created attachment 1322617 [details]
snapshots

Description of problem:
While downloading a disk the cancel/pause *upload* button should be disabled

Version-Release number of selected component (if applicable):
ovirt-engine-4.2.0-0.0.master.20170828065003.git0619c76.el7.centos.noarch

How reproducible:
100%

Steps to Reproduce:
1. Go to webadmin -> disks tab.
2. Mark a disk and download it.
3. Click on "Upload" and click Cancel/Pause.

Actual results:
Cancel/Pause for upload image is not disabled - when clicking on cancel - the download is canceled (the cancel of upload should only affect uploads not downloads)
Expected results:
Cancel/Pause for upload should be grayed out for a disks that are being downloaded (and active for disks that are being uploaded).

Additional info:
Snapshots of the test flow attached.

Comment 1 Sandro Bonazzola 2017-12-12 16:04:32 UTC
This bug is targeted 4.2.1 but is modified in 4.2.0.
Can you please check / verify this bug status and set target milestone and bug status accordingly?

Comment 2 Allon Mureinik 2017-12-12 17:17:48 UTC
The fix is included in the ovirt-engine-4.2.0.1 tag.

Comment 3 Daniel Erez 2017-12-13 11:46:39 UTC
*** Bug 1525388 has been marked as a duplicate of this bug. ***

Comment 4 Avihai 2017-12-13 12:00:08 UTC
verified on 4.2.0.2-0.1

Comment 5 Sandro Bonazzola 2017-12-20 10:46:01 UTC
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017.

Since the problem described in this bug report should be
resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.