Bug 790788 - "Run errata" button for a system with 0 erratas to be applied: failure
Summary: "Run errata" button for a system with 0 erratas to be applied: failure
Keywords:
Status: CLOSED DUPLICATE of bug 796360
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.0.1
Hardware: Unspecified
OS: Unspecified
medium
medium vote
Target Milestone: Unspecified
Assignee: Jason E. Rist
QA Contact: Katello QA List
URL:
Whiteboard:
: 784356 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-15 12:04 UTC by Garik Khachikyan
Modified: 2015-01-04 21:59 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-29 20:36:57 UTC
Target Upstream Version:


Attachments (Terms of Use)
run errata - 0 erratas there (67.42 KB, image/png)
2012-02-15 12:04 UTC, Garik Khachikyan
no flags Details

Description Garik Khachikyan 2012-02-15 12:04:15 UTC
Created attachment 562200 [details]
run errata - 0 erratas there

Description of problem:
There is a red-alert "undefined method `errors' for #" when for a registered/subscribed system on the errata tab one tries to hit "Run" button.

attached is the screenshot with that.

so please either disable the button on empty errata list or handle it gracefully.

Version-Release number of selected component (if applicable):
katello-0.1.237-1.git.7.752d8de.el6.noarch
katello-cli-0.1.54-1.git.79.17c365f.el6.noarch
pulp-0.0.265-1.el6.noarch
candlepin-0.5.17-1.el6.noarch


How reproducible:
always on recent Katello

Steps to Reproduce:
1.repo sync famous Zoo 
2.get system subscribe to that repo
3.through UI refer to the "Errata" tab for that system.
4. assure that there is no errata for that system available. click "Run" button.
  
Actual results:
red-alert

Expected results:
no errors, system should gracefully respond to that "command" - either disable the button.

Additional info:

Comment 1 Corey Welton 2012-02-22 03:45:36 UTC
Dupe of bug #784356

Comment 2 Mike McCune 2012-02-23 22:32:40 UTC
*** Bug 784356 has been marked as a duplicate of this bug. ***

Comment 3 Mike McCune 2012-02-23 22:35:42 UTC
Closed #784356

Comment 4 Justin Sherrill 2012-02-29 20:36:57 UTC

*** This bug has been marked as a duplicate of bug 796360 ***

Comment 5 Mike McCune 2013-08-16 18:19:41 UTC
getting rid of 6.0.0 version since that doesn't exist


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