Project

General

Profile

Actions

Bug #10199

closed

Docker Compute Resource - New Image: Submit button should be disabled upon click

Added by Bryan Kearney almost 9 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1190183
Description of problem:
When creating a New Image within a Docker compute resource, the submit button does not disable after initial submit. An errant/accidental double-click ends up returning an error that the Image "has already been taken"

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Create a docker compute resource
2. Infrastructure > Compute Resources > $docker_cr > New Image
3. begin filling out the form
4. "Accidentally" click the Submit button twice.

Actual results:
Two submissions for this data are inadvertently submitted.
User gets an error that the image "has already been taken" (because it has, with the first click) but gets no real indication that the first one was ever functional.

Expected results:
Disable the button upon submit. I guess we could re-enable it upon failed create, so user can fix any errors that resulted (though I would think validation before submit would catch most of this).

Additional info:

Actions #1

Updated by Daniel Lobato Garcia almost 9 years ago

I think it should be disabled entirely. We're misleading people into thinking they can create images through it somehow.

Actions #2

Updated by The Foreman Bot about 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman-docker/pull/152 added
Actions #3

Updated by Daniel Lobato Garcia about 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF