Bug 1613355

Summary: Quadicon of provider is broken when having more than 99999 images
Product: Red Hat CloudForms Management Engine Reporter: Matouš Mojžíš <mmojzis>
Component: UI - OPSAssignee: Dávid Halász <dhalasz>
Status: CLOSED CURRENTRELEASE QA Contact: Matouš Mojžíš <mmojzis>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.10.0CC: dmetzger, hkataria, lavenel, mmojzis, mpovolny, obarenbo, simaishi
Target Milestone: GA   
Target Release: 5.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ui:ec2:provider
Fixed In Version: 5.10.0.15 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-02-12 16:53:12 UTC Type: Bug
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:
Attachments:
Description Flags
provider_icon_broken none

Description Matouš Mojžíš 2018-08-07 12:30:05 UTC
Created attachment 1473975 [details]
provider_icon_broken

Description of problem:


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

How reproducible:
Always

Steps to Reproduce:
1. Add a provider with at least 100k images (I added ec2 with public images enabled)
2. Go to Compute -> Cloud/Infra -> Providers
3.

Actual results:
Provider's quadicon is broken.

Expected results:


Additional info:

Comment 5 CFME Bot 2018-08-07 17:14:33 UTC
New commit detected on ManageIQ/ui-components/master:

https://github.com/ManageIQ/ui-components/commit/8d41cdcf03ea9418820459242c9d5c0f8903abab
commit 8d41cdcf03ea9418820459242c9d5c0f8903abab
Author:     Dávid Halász <dhalasz>
AuthorDate: Tue Aug  7 09:57:53 2018 -0400
Commit:     Dávid Halász <dhalasz>
CommitDate: Tue Aug  7 09:57:53 2018 -0400

    Fix the number abbreviation in quadicons when hitting 6 characters

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

 demo/controllers/quadiconController.ts | 1 +
 src/common/filters/abbrNumberFilter.ts | 10 +-
 2 files changed, 9 insertions(+), 2 deletions(-)

Comment 6 Matouš Mojžíš 2018-08-17 17:11:19 UTC
The issue persists - 112937 images.

Comment 8 Matouš Mojžíš 2018-09-18 12:07:32 UTC
Verified in 5.10.0.15. Quadicon is not broken anymore as it shortens number to thousands.