Bug 1162259 - New Container "next" button is enabled when no Docker computer resource exists.
Summary: New Container "next" button is enabled when no Docker computer resource exists.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: Nightly
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Ohad Levy
QA Contact: Elyézer Rezende
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-10 16:42 UTC by jcallaha
Modified: 2017-02-23 20:49 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-12 05:18:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 8342 0 None None None 2016-04-22 16:50:53 UTC
Red Hat Product Errata RHSA-2015:1592 0 normal SHIPPED_LIVE Important: Red Hat Satellite 6.1.1 on RHEL 6 2015-08-12 09:04:35 UTC

Description jcallaha 2014-11-10 16:42:15 UTC
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.

Comment 1 RHEL Program Management 2014-11-10 17:03:02 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 Dominic Cleal 2014-11-11 08:53:36 UTC
Created redmine issue http://projects.theforeman.org/issues/8342 from this bug

Comment 4 Bryan Kearney 2014-12-26 17:04:28 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/8342 has been closed
-------------
Vanya Jauhal
Applied in changeset commit:foreman-docker|2fed5c014e06f2c90de96e116a10437977685128.

Comment 7 Elyézer Rezende 2015-03-06 21:21:39 UTC
Verified on: Satellite-6.1.0-RHEL-7-20150303.0 and Satellite-6.1.0-RHEL-6-20150303.0

Steps to verify:

1. Ensured that no Docker-based Compute Resource was not created
2. Navigated to Containers > New Container
3. The following message was shown: "You need a Docker compute resource in order to create containers. Please add a new one and try again.". And the next button was not shown, not allowing me to proceed to next step until a Docker-based Compute Resource was created.

Comment 8 Bryan Kearney 2015-08-11 13:30:51 UTC
This bug is slated to be released with Satellite 6.1.

Comment 9 errata-xmlrpc 2015-08-12 05:18:56 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

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

https://access.redhat.com/errata/RHSA-2015:1592


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