Bug 1289280

Summary: Don't have ability to add a new chargeback rate
Product: Red Hat CloudForms Management Engine Reporter: Chris Pelland <cpelland>
Component: UI - OPSAssignee: Milan Zázrivec <mzazrivec>
Status: CLOSED ERRATA QA Contact: Taras Lehinevych <tlehinev>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.5.0CC: cpelland, dajohnso, hkataria, jhardy, jkrocil, jprause, mpovolny, mzazrivec, obarenbo, tlehinev
Target Milestone: GAKeywords: ZStream
Target Release: 5.5.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.5.2.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1284014 Environment:
Last Closed: 2016-02-10 15:25:08 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:
Bug Depends On: 1284014    
Bug Blocks:    

Comment 2 CFME Bot 2015-12-11 17:21:58 UTC
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=facef2a11311b1c91ecf429407a9331ccd376656

commit facef2a11311b1c91ecf429407a9331ccd376656
Author:     Milan Zazrivec <mzazrivec>
AuthorDate: Thu Nov 26 11:46:21 2015 +0100
Commit:     Milan Zazrivec <mzazrivec>
CommitDate: Wed Dec 9 11:21:56 2015 +0100

    Chargeback rates: correctly render tree nodes with no cb rates
    
    Chargeback rates tree builder needs to be able to create / render
    storage and compute tree nodes even when there are no chargeback
    rates available in the database.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1289280
    (cherry picked from commit 636466c24964f844cb6fb375897e278d77b54db3)

 app/presenters/tree_builder_chargeback_assignments.rb  |  3 +--
 app/presenters/tree_builder_chargeback_rates.rb        |  3 +--
 spec/presenters/tree_builder_chargeback_assignments.rb | 16 ++++++++++++++++
 spec/presenters/tree_builder_chargeback_rates_spec.rb  | 16 ++++++++++++++++
 spec/presenters/tree_builder_spec.rb                   | 11 ++++++++++-
 5 files changed, 44 insertions(+), 5 deletions(-)
 create mode 100644 spec/presenters/tree_builder_chargeback_assignments.rb
 create mode 100644 spec/presenters/tree_builder_chargeback_rates_spec.rb

Comment 3 CFME Bot 2015-12-11 17:22:07 UTC
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=44752fbef69e0631f82e12455b1690c28aafcf37

commit 44752fbef69e0631f82e12455b1690c28aafcf37
Merge: 9fe810c facef2a
Author:     Dan Clarizio <dclarizi>
AuthorDate: Fri Dec 11 12:18:26 2015 -0500
Commit:     Dan Clarizio <dclarizi>
CommitDate: Fri Dec 11 12:18:26 2015 -0500

    Merge branch 'fix_chargeback_rates_tree_builder_when_zero_rates' into '5.5.z'
    
    Chargeback rates: correctly render tree nodes with no cb rates
    
    Chargeback rates tree builder needs to be able to create / render
    storage and compute tree nodes even when there are no chargeback
    rates available in the database.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1289280
    
    Clean cherry pick from commit 636466c24964f844cb6fb375897e278d77b54db3
    
    See merge request !598

 app/presenters/tree_builder_chargeback_assignments.rb  |  3 +--
 app/presenters/tree_builder_chargeback_rates.rb        |  3 +--
 spec/presenters/tree_builder_chargeback_assignments.rb | 16 ++++++++++++++++
 spec/presenters/tree_builder_chargeback_rates_spec.rb  | 16 ++++++++++++++++
 spec/presenters/tree_builder_spec.rb                   | 11 ++++++++++-
 5 files changed, 44 insertions(+), 5 deletions(-)

Comment 5 Taras Lehinevych 2016-01-18 15:17:24 UTC
Verified fixed in version 5.5.2.1

Comment 6 errata-xmlrpc 2016-02-10 15:25:08 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/RHBA-2016:0159