Bug 1693727

Summary: Text attachment generation fails for custom report
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ReportingAssignee: Joe Rafaniello <jrafanie>
Status: CLOSED ERRATA QA Contact: Parthvi Vala <pvala>
Severity: medium Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: medium    
Version: 5.9.4CC: bkinney, dmetzger, jrafanie, nansari, obarenbo, pmukhedk, pvala, simaishi
Target Milestone: GAKeywords: ZStream
Target Release: 5.10.3   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: 5.10.3.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1677839 Environment:
Last Closed: 2019-04-23 07:46:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On: 1677839    
Bug Blocks:    

Comment 2 CFME Bot 2019-03-29 17:32:37 UTC
New commit detected on ManageIQ/manageiq-ui-classic/hammer:

https://github.com/ManageIQ/manageiq-ui-classic/commit/6fce3b0530688344df75cb5d460222956f07bdff
commit 6fce3b0530688344df75cb5d460222956f07bdff
Author:     Milan Zázrivec <mzazrivec>
AuthorDate: Thu Feb 21 02:11:36 2019 -0500
Commit:     Milan Zázrivec <mzazrivec>
CommitDate: Thu Feb 21 02:11:36 2019 -0500

    Merge pull request #5254 from jrafanie/fix_padding_calculation_since_text_ignores_line_width

    Use ljust to left justify and pad strings

    (cherry picked from commit 805c1944ce9bdfbbee6bb3f54a179d036908e631)

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1693727

 lib/report_formatter/text.rb | 10 +-
 spec/lib/report_formater/text_formatter_spec.rb | 78 +
 spec/support/report_helper.rb | 27 +
 3 files changed, 110 insertions(+), 5 deletions(-)

Comment 3 Parthvi Vala 2019-04-03 08:39:13 UTC
FIXED. Verified on 5.10.3.0.20190402144650_62f3960.

Comment 5 errata-xmlrpc 2019-04-23 07:46:25 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/RHSA-2019:0796