Bug 1328879 - UI: Item count shows (items 1-0 of 0) when there is no item on that page
Summary: UI: Item count shows (items 1-0 of 0) when there is no item on that page
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.6.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.6.0
Assignee: Jozef Zigmund
QA Contact: Satyajit Bulage
URL:
Whiteboard: ui
: 1344347 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-20 13:15 UTC by Satyajit Bulage
Modified: 2016-08-02 22:31 UTC (History)
6 users (show)

Fixed In Version: 5.6.0.5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-29 15:51:43 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:


Attachments (Terms of Use)
Screenshot showing actual results (49.81 KB, image/png)
2016-04-20 13:15 UTC, Satyajit Bulage
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1348 0 normal SHIPPED_LIVE CFME 5.6.0 bug fixes and enhancement update 2016-06-29 18:50:04 UTC

Description Satyajit Bulage 2016-04-20 13:15:29 UTC
Created attachment 1149094 [details]
Screenshot showing actual results

Description of problem: When there is no/zero Provider in Containers still item count is shown as (items 1-0 of 0)


Version-Release number of selected component (if applicable):5.6.0.1-beta2.20160413141124_e25ac0e


How reproducible: 100%


Steps to Reproduce:
1.Naqvigate to Containers -->Providers
2.See at bottom right corner


Actual results: On page it shows (items 1-0 of 0) when there is no item


Expected results: It should display right count (items 0-0 of 0) when there is no item on page


Additional info:

Comment 3 Satyajit Bulage 2016-04-26 07:16:50 UTC
Still reproducible in Containers. Also encountered in other pages like Infrastructure, Cloud etc.

Comment 5 CFME Bot 2016-05-02 16:30:54 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/188a5dae37268f7eb35024b6a19345e7728ec365

commit 188a5dae37268f7eb35024b6a19345e7728ec365
Author:     Jozef Zigmund <jzigmund>
AuthorDate: Thu Apr 28 17:39:16 2016 +0200
Commit:     Jozef Zigmund <jzigmund>
CommitDate: Thu Apr 28 17:42:42 2016 +0200

    Fix 0 items count in pagination control
    
    When was zero items in list table, it has showed 1 instead of 0
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1328879

 app/views/layouts/_pagingcontrols.html.haml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 6 Satyajit Bulage 2016-05-04 05:33:44 UTC
Able to see right count (items 0 of 0) when there is no item on page.

Verified Version :-5.6.0.5-beta2.4.20160503153816_1fb554f

Comment 8 Harpreet Kataria 2016-06-14 20:34:28 UTC
*** Bug 1344347 has been marked as a duplicate of this bug. ***

Comment 10 errata-xmlrpc 2016-06-29 15:51:43 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:1348

Comment 11 CFME Bot 2016-08-02 22:31:45 UTC
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=05558bd7977aeb2fb754c2c50342bf1234ef7b6b

commit 05558bd7977aeb2fb754c2c50342bf1234ef7b6b
Author:     Jozef Zigmund <jzigmund>
AuthorDate: Thu Apr 28 17:39:16 2016 +0200
Commit:     Jozef Zigmund <jzigmund>
CommitDate: Wed Jul 20 16:21:51 2016 +0200

    Fix 0 items count in pagination control
    
    When was zero items in list table, it has showed 1 instead of 0
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1328879

 app/views/layouts/_pagingcontrols.html.haml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


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