Bug 1161664 - Upload manifest button remains clickable during upload.
Summary: Upload manifest button remains clickable during upload.
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Subscription Management
Version: Nightly
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Walden Raines
QA Contact: jcallaha
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-07 15:10 UTC by jcallaha
Modified: 2019-09-25 21:15 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-01 20:01:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 15396 0 None None None 2017-03-14 15:04:59 UTC

Description jcallaha 2014-11-07 15:10:04 UTC
Description of problem: 
While uploading a manifest, the upload button's text changes to "Uploading.." with a spinner. However, the user is still able to click the button and trigger another upload.

How reproducible:
always

Steps to Reproduce:
1. Navigate to manifests page
2. Upload a new manifest
3. While the manifest is uploading, click the upload button again (while it says it is uploading)

Actual results:
The button triggers another upload, but that upload is caught with the error below.

Error during upload: Required lock is already taken by other running tasks. Please inspect their state, fix their errors and resume them. Required lock: read Conflicts with tasks:


Expected results:
The button should either be disabled, or clicking the button (during upload) shouldn't trigger another upload.

Comment 1 RHEL Program Management 2014-11-07 15:13:00 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Roman Plevka 2015-05-22 14:07:02 UTC
Also,
when user leaves the page during the upload and comes back to it, the Button style resets so there is no sign nor reference to the upload which is going on in the background.
This might trick user to trigger another upload.

I think the system should check for any running tasks for the selected organization every time the page loads and decorate the button accordingly.

Comment 4 Bryan Kearney 2016-07-08 20:29:48 UTC
Per 6.3 planning, moving out non acked bugs to the backlog

Comment 6 Bryan Kearney 2017-03-13 20:11:45 UTC
I do not see this bug being addressed in the near term. If you believe closing this is an issue, please feel free to re-open with additional information.

Comment 7 Walden Raines 2017-03-14 14:05:05 UTC
This has actually been fixed already.  The you can still select another file but you cannot click the upload button when a manifest is being uploaded.

See http://projects.theforeman.org/issues/15396

Comment 8 Walden Raines 2017-03-14 14:05:32 UTC
Connecting redmine issue http://projects.theforeman.org/issues/15396 from this bug

Comment 10 Bryan Kearney 2017-08-01 20:01:42 UTC
The fix to this bug will be delivered with release 6.3 of Satellite.


Note You need to log in before you can comment on or make changes to this bug.