Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1162259 - New Container "next" button is enabled when no Docker computer resource exists.
New Container "next" button is enabled when no Docker computer resource exists.
Status: CLOSED ERRATA
Product: Red Hat Satellite 6
Classification: Red Hat
Component: WebUI (Show other bugs)
Nightly
Unspecified Unspecified
unspecified Severity medium (vote)
: Unspecified
: Unused
Assigned To: Ohad Levy
Elyézer Rezende
http://projects.theforeman.org/issues...
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-10 11:42 EST by jcallaha
Modified: 2017-02-23 15:49 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-08-12 01:18:56 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Foreman Issue Tracker 8342 None None None 2016-04-22 12:50 EDT
Red Hat Product Errata RHSA-2015:1592 normal SHIPPED_LIVE Important: Red Hat Satellite 6.1.1 on RHEL 6 2015-08-12 05:04:35 EDT

  None (edit)
Description jcallaha 2014-11-10 11:42:15 EST
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 Product and Program Management 2014-11-10 12:03:02 EST
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 03:53:36 EST
Created redmine issue http://projects.theforeman.org/issues/8342 from this bug
Comment 4 Bryan Kearney 2014-12-26 12:04:28 EST
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 16:21:39 EST
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 09:30:51 EDT
This bug is slated to be released with Satellite 6.1.
Comment 9 errata-xmlrpc 2015-08-12 01:18:56 EDT
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.