Bug 1442854

Summary: Middleware Manager Deployments Download .pdf contains duplicate .war entries
Product: Red Hat CloudForms Management Engine Reporter: Matt Mahoney <mmahoney>
Component: ProvidersAssignee: Harpreet Kataria <hkataria>
Status: CLOSED EOL QA Contact: Dave Johnson <dajohnso>
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: abonas, cpelland, jfrey, jhardy, mmahoney, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: :middleware
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1458945 (view as bug list) Environment:
Last Closed: 2018-02-02 22:27:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1458945    
Attachments:
Description Flags
Deployments pdf none

Description Matt Mahoney 2017-04-17 18:48:03 UTC
Created attachment 1272140 [details]
Deployments pdf

Description of problem:
Middleware Manager Deployments Download .pdf contains duplicate .war entries.


Version-Release number of selected component (if applicable):
 Middleware Provider ER1
 CFME: 5.8.0.10-beta1.20170411212748_e47d319

How reproducible:


Steps to Reproduce:
1. Navegate to Middleware Manager -> Deployments
2. Click Downloads -> PDF
3. Validate PDF content.

Actual results:
PDF contains duplicate .war entries.

Expected results:
PDF should not contain duplicate entries.

Additional info:

Comment 2 Alissa 2017-04-18 08:30:44 UTC
note: pdf download is available only downstream.
this is a core issue, reassigning.

Comment 5 Alissa 2017-05-03 15:24:46 UTC
Matt, please check:
1. does it happen only for deployments or in other entities too (middleware and non middleware)
2. does it happen only in pdf format or in txt as well?

Comment 6 Alissa 2017-05-04 11:17:24 UTC
I did a check, and saw that it happens only in pdf format, not in txt nor csv.
It does happen for several middleware entities, so it's not an issue with deployments.
Given that we don't do any specific adjustments for pdf, and it's an infrastructure that is transparent to middleware provider impl, I'm reassigning to miq ui core.

Comment 8 Harpreet Kataria 2017-05-09 19:04:24 UTC
https://github.com/ManageIQ/manageiq/pull/15042

Comment 9 CFME Bot 2017-05-11 22:06:28 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/08506dda72ccfa0a6e6726967b6d62fef16a5859

commit 08506dda72ccfa0a6e6726967b6d62fef16a5859
Author:     Harpreet Kataria <hkataria>
AuthorDate: Tue May 9 14:56:10 2017 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Tue May 9 14:56:10 2017 -0400

    Removed grouping from all Middleware* views
    
    Made it consistent with other view yamls where we do not set grouping in other list view yamls, this was causing an extra row for each name entry in the downloadable pdf file to show grouping by name.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1442854

 product/views/MiddlewareDatasource.yaml  | 3 +--
 product/views/MiddlewareDeployment.yaml  | 3 +--
 product/views/MiddlewareDomain.yaml      | 3 +--
 product/views/MiddlewareMessaging.yaml   | 3 +--
 product/views/MiddlewareServerGroup.yaml | 3 +--
 5 files changed, 5 insertions(+), 10 deletions(-)