Project

General

Profile

Bug #8342

New Container "next" button is enabled when no Docker computer resource exists.

Added by Dominic Cleal about 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1162259
Description of problem: On the New Container page, it is possible to click the "Next" button, when no Docker compute resource has been created. This results in an improperly formatted error page.

Version-Release number of selected component (if applicable):
Nightly RHEL6.5/7

How reproducible:
Always

Steps to Reproduce:
1. Ensure you have no Docker computer resources crated.
2. Navigate to Containers -> New container
3. You should have an error displayed on the page stating you need a Docker computer resource. If not, go to step 1.
4. Click the "Next" button.

Actual results:
User is able to click the next button and initiate the next step. However, an error page is displayed with the improperly formatted error message below.
Warning!
undefined method `[]' for nil:NilClass

Expected results:
The "Next" button is disabled unless the Docker computer resource has been created and/or a proper error message is displayed on the next page.

Associated revisions

Revision 2fed5c01 (diff)
Added by Vanya Jauhal about 8 years ago

fixes #8342 - disables form buttons on new container page in absence of docker compute resources

Revision 2fed5c01 (diff)
Added by Vanya Jauhal about 8 years ago

fixes #8342 - disables form buttons on new container page in absence of docker compute resources

History

#1 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/59 added
  • Pull request deleted ()

#2 Updated by Vanya Jauhal about 8 years ago

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

Also available in: Atom PDF