Project

General

Profile

Actions

Bug #8342

closed

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

Added by Dominic Cleal over 9 years ago. Updated over 9 years ago.

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

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.

Actions #1

Updated by The Foreman Bot over 9 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman-docker/pull/59 added
  • Pull request deleted ()
Actions #2

Updated by Vanya Jauhal over 9 years ago

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

Also available in: Atom PDF