Bug 543461 - Unable to download errata details for a system profile from Satellite v5.3 as CSV
Summary: Unable to download errata details for a system profile from Satellite v5.3 as...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: WebUI
Version: 530
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Tomas Lestach
QA Contact: Dimitar Yordanov
URL:
Whiteboard:
Depends On:
Blocks: sat531-triage
TreeView+ depends on / blocked
 
Reported: 2009-12-02 13:25 UTC by Issue Tracker
Modified: 2018-11-14 17:07 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: Consequence: Fix: Result:
Clone Of:
Environment:
Cause: Consequence: Fix: Result:
Last Closed: 2011-02-01 10:34:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0189 0 normal SHIPPED_LIVE Red Hat Network Satellite bug fix update 2011-02-01 10:31:45 UTC

Description Issue Tracker 2009-12-02 13:25:27 UTC
Escalated to Bugzilla from IssueTracker

Comment 1 Issue Tracker 2009-12-02 13:25:28 UTC
Event posted on 11-26-2009 03:49am EST by vimkumar

Description of problem:
Unable to download errata details for a system profile from Satellite v5.3 as CSV

How reproducible:
Always

Steps to Reproduce:
- On Satellite v5.3 Web UI, click on "Systems" tab
- Click on the name of any system profile
- The next page shows the system profile details
- Here, click on "Software" tab -> "Errata"

Actual results:
There is no "Download CSV" url at the bottom of the page. This used to be there in Satellite v5.2

Expected results:
A "Download CSV" url at the bottom which allows user to download applicable errata details of that system profile

Additional info:
Screenshots from Sat v5.2 (sat5_2.png) and Sat v5.3 (sat5_3.png)

Action expected from SEG:
- Would like to know whether this is indeed a bug, or was this feature deliberately left out in sat v5.3


This event sent from IssueTracker by vgaikwad  [SEG - RHN]
 issue 370082

Comment 2 Issue Tracker 2009-12-02 13:25:30 UTC
Event posted on 12-02-2009 08:15am EST by vgaikwad

Hello Vimal,

I was able to reproduce this issue but unfortunately I was unable to find
the culprit here.

Looking at the source (JSP files) from RHNS 5.2.0 and RHNS 5.3.0 here's
what I see:

code/webapp/WEB-INF/pages/systems/errata.jsp:

<c:if test="${requestScope.showApplyErrata == 'true'}">
                <rl:csv dataset="pageList"
                        name="errataList" 
                       
exportColumns="associatedSystem,errataAdvisoryType,advisoryName,advisorySynopsis,errataStatus,updateDate"
                        header="${system.name}"/>
        </c:if>
        <rhn:submitted/>

The above if condition is responsible for showing the 'Download CSV'
link. Now comparing the JSPs from both the versions I think the following
seems to be missing:

---
rhn-satellite-5.2.0-rhel4/rhn-java-sat-svn-r178191/code/webapp/WEB-INF/pages/systems/errata.jsp
    2008-08-29 08:26:40.000000000 +0530
+++
redhat-rhn-satellite-5.3/spacewalk-java-0.5.44/code/webapp/WEB-INF/pages/systems/errata.jsp
2009-09-22 13:54:47.000000000 +0530

@@ -28,7 +37,23 @@
 <c:set var="pageList" value="${requestScope.pageList}" />
 
 <rl:listset name="errataListSet" legend="errata">
-       <rl:list dataset="pageList"
+
+       <br/>
+       <select name="type">


The ShowApplyErrata button is true and we also see that on the RHNS 530
server under:
System (SDC) -> Software -> Errata

Basically, the logic says:

If you system has 'applicable errata' show the button 'Apply Errata'
and if the 'Apply Errata' button appears also show the 'Download CSV'
link. On RHNS 530 we can see the 'Apply Errata' button but something is
blocking the 'Download CSV' link. If the Download CSV link is missing
then we should not see the 'Apply Errata' button as well. I think either
we need to pass the dataset to the CSV link which is missing.

Sending this to engineering for further investigation.

regards,


This event sent from IssueTracker by vgaikwad  [SEG - RHN]
 issue 370082

Comment 3 Justin Sherrill 2010-01-11 16:36:57 UTC
fixed in master:  35b8d6aae7b37008d383ce0d7bd2ce66f2fa6b08

issue was essentially that the data list name was being specified in the csv tag even though it had been left to the default in the Action.

Comment 6 Florian Nadge 2011-01-17 13:53:15 UTC
Please be so kind and add a few key words to the Technical Notes of this
Bugzilla entry using the following structure:

Cause:

Consequence:

Fix:

Result:

For details, see:

https://bugzilla.redhat.com/page.cgi?id=fields.html#cf_release_notes

Thanks

Comment 7 Florian Nadge 2011-01-17 13:53:15 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Cause:

Consequence:

Fix:

Result:

Comment 8 Dimitar Yordanov 2011-01-19 23:27:58 UTC
Verified:
RHEL5, RHEL4- s390x, x86_64

Comment 9 errata-xmlrpc 2011-02-01 10:34:23 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0189.html


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