Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1328879 - UI: Item count shows (items 1-0 of 0) when there is no item on that page
UI: Item count shows (items 1-0 of 0) when there is no item on that page
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS (Show other bugs)
5.6.0
Unspecified Unspecified
medium Severity medium
: GA
: 5.6.0
Assigned To: Jozef Zigmund
Satyajit Bulage
ui
:
: 1344347 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-04-20 09:15 EDT by Satyajit Bulage
Modified: 2016-08-02 18:31 EDT (History)
6 users (show)

See Also:
Fixed In Version: 5.6.0.5
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-06-29 11:51:43 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


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


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1348 normal SHIPPED_LIVE CFME 5.6.0 bug fixes and enhancement update 2016-06-29 14:50:04 EDT

  None (edit)
Description Satyajit Bulage 2016-04-20 09:15:29 EDT
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 03:16:50 EDT
Still reproducible in Containers. Also encountered in other pages like Infrastructure, Cloud etc.
Comment 5 CFME Bot 2016-05-02 12:30:54 EDT
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/188a5dae37268f7eb35024b6a19345e7728ec365

commit 188a5dae37268f7eb35024b6a19345e7728ec365
Author:     Jozef Zigmund <jzigmund@redhat.com>
AuthorDate: Thu Apr 28 17:39:16 2016 +0200
Commit:     Jozef Zigmund <jzigmund@redhat.com>
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 01:33:44 EDT
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 16:34:28 EDT
*** Bug 1344347 has been marked as a duplicate of this bug. ***
Comment 10 errata-xmlrpc 2016-06-29 11:51:43 EDT
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 18:31:45 EDT
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@redhat.com>
AuthorDate: Thu Apr 28 17:39:16 2016 +0200
Commit:     Jozef Zigmund <jzigmund@redhat.com>
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.