Bug 1273654 - Remove leading space from Enterpise option in Assign to dropdown on Chargeback Assignment page
Summary: Remove leading space from Enterpise option in Assign to dropdown on Chargebac...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.5.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: GA
: 5.5.0
Assignee: Harpreet Kataria
QA Contact: Nandini Chandra
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-20 21:45 UTC by Nandini Chandra
Modified: 2015-12-08 13:37 UTC (History)
7 users (show)

Fixed In Version: 5.5.0.7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-08 13:37:18 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:2551 0 normal SHIPPED_LIVE Moderate: CFME 5.5.0 bug fixes and enhancement update 2015-12-08 17:58:09 UTC

Description Nandini Chandra 2015-10-20 21:45:08 UTC
Description of problem:
----------------------
Navigate to Cloud Intelligence->Chargebacks->Assignments.Select 'Compute' or 'Storage'.One of the options in the 'Assign to' drop down is Enterprise.
It's actually ' The Enterprise' instead of  'The Enterprise'.Note the leading space in ' The Enterprise'.My automated test works fine in 5.4,but fails in 5.5.
I'm not quite sure what's different in 5.5.Maybe,the new dropdown style shows the text as is, whereas the old drop down cleaned up the leading spaces.

This is a request for the leading space to be removed from ' The Enterprise' string in the code.

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


How reproducible:
----------------
Always


Steps to Reproduce:
------------------
1.
2.
3.

Actual results:
---------------


Expected results:
----------------


Additional info:
----------------

Comment 4 CFME Bot 2015-10-21 15:35:20 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/03127e43b8c771c219ea9a09a54bf8a5f729d8ad

commit 03127e43b8c771c219ea9a09a54bf8a5f729d8ad
Author:     Harpreet Kataria <hkataria>
AuthorDate: Tue Oct 20 18:19:46 2015 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Tue Oct 20 18:19:46 2015 -0400

    Trimmed leading space from the "Assign To" pull down values
    
    With patternfly select conversions, leading space in front of "The Enterprise" was causing automate tests to fail. Leading space was added to this entry back when ruby hashes did not retain the order to keep this entry at the top of the pull down. Removed sort from view so values can be displayed in the order they were added in the initial Hash.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1273654

 app/helpers/ui_constants.rb                    | 6 +++---
 app/views/chargeback/_cb_assignments.html.haml | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

Comment 5 Nandini Chandra 2015-10-28 17:20:48 UTC
Verified in 5.5.0.7

Comment 7 errata-xmlrpc 2015-12-08 13:37:18 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-2015:2551


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