Bug 1216209 - Paginator : clicking last button doesn't take you to the last page of a report
Summary: Paginator : clicking last button doesn't take you to the last page of a report
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.4.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.4.0
Assignee: Milan Zázrivec
QA Contact: Nandini Chandra
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-28 18:49 UTC by Nandini Chandra
Modified: 2015-06-16 13:00 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-16 13:00:28 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screen shot of report (118.58 KB, image/png)
2015-04-28 18:49 UTC, Nandini Chandra
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:1100 0 normal SHIPPED_LIVE CFME 5.4.0 bug fixes, and enhancement update 2015-06-16 16:28:42 UTC

Description Nandini Chandra 2015-04-28 18:49:38 UTC
Created attachment 1019839 [details]
screen shot of report

Description of problem:
------------------------
While viewing the records of a report,clicking the 'last' button doesn't always take you to the last page.I've seen this happen when the report has many records.


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


How reproducible:
----------------
Sometimes


Steps to Reproduce:
------------------
1.Queue the 'Guest OS Information - any OS' report.The resulting report on my appliance has 4097 rows.
2.Try to view the report under 'Saved Reports'.Clicking the 'last' button shows rows 81-100 of 4097(See attached screen shot).


Actual results:
--------------
Clicking the last button doesn't always take you to the last page of a record


Expected results:
----------------
Clicking last button should always take you to the last page of a record.


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

Comment 2 Nandini Chandra 2015-04-28 18:53:21 UTC
The Actual and Expected results should read:

Actual results:
--------------
Clicking the last button doesn't always take you to the last page of a report.


Expected results:
----------------
Clicking the last button should always take you to the last page of a report.

Comment 3 Milan Zázrivec 2015-05-04 14:54:46 UTC
I'm unable to reproduce the problem -- as described above -- on my
CFME / ManageIQ instance.

Is there perhaps a running CFME instance / database I can look into / use?

Thanks.

Comment 4 Nandini Chandra 2015-05-04 16:32:57 UTC
Milan,

Sure,you could check the Vendor and Guest OS report on my appliance.

Thanks,
Nandini

Comment 6 Milan Zázrivec 2015-05-05 13:01:17 UTC
https://github.com/ManageIQ/manageiq/pull/2839

Comment 7 CFME Bot 2015-05-05 20:10:50 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/a91ae3d39f1ab64e5302fd7ca06b08477091c95e

commit a91ae3d39f1ab64e5302fd7ca06b08477091c95e
Author:     Milan Zazrivec <mzazrivec>
AuthorDate: Tue May 5 15:00:09 2015 +0200
Commit:     Milan Zazrivec <mzazrivec>
CommitDate: Tue May 5 15:00:09 2015 +0200

    Fix link to last page of saved report paging bar
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1216209

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

Comment 9 Nandini Chandra 2015-05-12 21:55:21 UTC
Verified in 5.4.0.0.26

Comment 11 errata-xmlrpc 2015-06-16 13:00:28 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://rhn.redhat.com/errata/RHBA-2015-1100.html


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