Bug 419861

Summary: Confirm button should not be available if there are no errata available for Adding to the channel.
Product: Red Hat Satellite 5 Reporter: Preethi Thomas <pthomas>
Component: WebUIAssignee: Miroslav Suchý <msuchy>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: high Docs Contact:
Priority: high    
Version: 510   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: https://rlx-0-10.rhndev.redhat.com/rhn/channels/manage/packages/AddRedHatErrata.do?cid=104
Whiteboard:
Fixed In Version: sat510 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-04-03 00:23:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 248627    
Attachments:
Description Flags
Add errata page
none
AddErrataPage-confirm none

Description Preethi Thomas 2007-12-11 15:14:16 UTC
Description of problem:
Confirm button should not be available if there are no errata available for
Adding to the channel.

Version-Release number of selected component (if applicable):
rhn-satellite-5.1.0-28

How reproducible:

 always

Steps to Reproduce:
1. login to the satellite
2. create a custom channel
3. select Errata-> Add 
4. Select Add Red hat errata
5.  Note that the confirm button is available even though the  errata section
says " no errata found applicable"
6. Click confirm
7. the summery page is shown.
8. Click clone errata
9.  the message on top of the page shows "Succesfully added 0 Errata and 0
package(s) to channel pt-custom." 
  
Actual results:

Confirm button is available even when there is no errata to add.

Expected results:
Confirm button should not be available

Additional info:

Comment 1 Preethi Thomas 2007-12-11 15:15:04 UTC
Created attachment 284171 [details]
Add errata page

Comment 5 Miroslav Suchý 2008-01-18 16:03:13 UTC
Commited into trunk rev. 135867.

Comment 6 Miroslav Suchý 2008-01-21 09:48:05 UTC
Vega-Push#12 Satellite-5.1.0-69 & proxy-5.1.0-21
Moving ON_QA

Comment 8 Preethi Thomas 2008-01-22 16:17:40 UTC
Created attachment 292532 [details]
AddErrataPage-confirm

Comment 9 Miroslav Suchý 2008-01-23 15:19:40 UTC
Commited fix to trunk rev. 136021
I fix page "Add Custom Errata" beside "Add Red Hat Errata" too.

Comment 11 Brandon Perkins 2008-04-03 00:23:48 UTC
5.1 Sat GA so Closed for Current Release.