Bug 1402333

Summary: The "Resource " column is not included while exporting the Alert Definitions in a .csv file.
Product: [JBoss] JBoss Operations Network Reporter: Harshada <harshada>
Component: UIAssignee: Ruben Vargas Palma <rvargasp>
Status: CLOSED ERRATA QA Contact: Jeeva Kandasamy <jkandasa>
Severity: medium Docs Contact:
Priority: medium    
Version: JON 3.3.0CC: fbrychta, jkandasa, jmartine, miburman, rvargasp, spinder
Target Milestone: DR01Keywords: Triaged
Target Release: JON 3.3.9   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-10-02 17:21:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Harshada 2016-12-07 09:28:44 UTC
Description of problem:

The "Resource " column is not included while exporting the Alert Definitions to a .csv file from the JON UI.

By default, there are 7 columns in Alert Definitions table (Name	Description, Enabled, Priority, Parent, Resource, Ancestry). However, when this data is exported in a .csv file, the file contains the table having the columns : Name, Description, Enabled, Priority, Parent Ancestry, Details URL. 
The Resource column is missing.

Version-Release number of selected component (if applicable):
3.3.0

How reproducible:


Steps to Reproduce:
1. Log in to JON UI.
2. Export the Alert Definitions from the JON UI by navigating  to Reports -> Alert Definitions -> Click on 'Export'
3. Save the .csv file.

Actual results:
The saved .csv file, the file contains the table having the columns : Name, Description, Enabled, Priority, Parent Ancestry, Details URL. 
The Resource column is missing.

Expected results: Should contain the 'Resource' Column as well


Additional info:

Comment 4 Josejulio Martínez 2017-08-23 15:53:53 UTC
commit 1304f1f27d0cd38cbf5cd37424be7956de0ebda0
Merge: 02e100b c9305ca
Author: Michael Burman <yak>
Date:   Wed Aug 23 16:20:32 2017 +0300

    Merge pull request #309 from rubenvp8510/BZ1402333
    
    [Bug 1402333] - Include the resource column in the exported Alert Def…

commit c9305ca7bbb2bf52ca08c6ee44ae1c2933dddebd
Author: Ruben Vargas <ruben.vp8510>
Date:   Tue Aug 1 17:22:04 2017 -0500

    [Bug 1402333] - Include the resource column in the exported Alert Definitions report.

Comment 6 Simeon Pinder 2017-09-01 15:34:13 UTC
Moving to ON_QA as available for test with the following binary:
http://download.eng.bos.redhat.com/brewroot/packages/org.jboss.on-jboss-on-parent/3.3.0.GA/133/maven/org/jboss/on/jon-server-patch/3.3.0.GA/jon-server-patch-3.3.0.GA.zip

*NOTE Build represents JON 3.3.9 DR01 build.

Please report issues as you encounter them.

Comment 7 Jeeva Kandasamy 2017-09-06 07:39:47 UTC
"Resource" column added at the end. Data available for 'Resource' header too.
Currently, CSV file has the following headers(ordered as in the CSV file):[Name,Description,Enabled,Priority,Parent,Ancestry,Details URL,Resource]

Version info:
-------------

OS: Fedora 26
Browser: Firefox 55.0.2 (64-bit)

JBoss Operations Network	
Version: 3.3.0.GA Update 09
Build Number: 74b22f5:8c38c0a
GWT Version: 2.5.0
SmartGWT Version: 3.0p

Comment 8 errata-xmlrpc 2017-10-02 17:21:51 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/RHEA-2017:2846