Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011711Openbravo ERPZ. Otherspublic2009-12-08 10:502011-09-21 22:44
arunkumar 
shuehner 
normalminorhave not tried
closedout of date 
5
2.40 
 
Core
No
0011711: Next 5 should not be displayed in the last page
The last page should contain link only for the previous pages.It should not contain link to the Next pages.
Prerequisite:

Have a 2.40 environment.
Change the number of rows to 5.

Steps:

Click Information -> Product.
Product selector popup window will open.
Assume that there are 15 records.
So when you are in the last page 11-15/15 the "Next 5" should not be displayed there. But we can see it is getting displayed there. If we click that an empty page is displayed.
page data grid
blocks defect 0011680 closed shuehner Next 5 should not be displayed in the last page 
Issue History
2009-12-09 16:26psarobeTypedefect => backport
2009-12-09 16:26psarobefix_in_branch => 2.40
2009-12-11 15:34rafarodaAssigned Torafaroda => shuehner
2009-12-11 17:04rafarodaTag Attached: page data grid
2011-09-21 22:44shuehnerNote Added: 0041209
2011-09-21 22:44shuehnerStatusscheduled => closed
2011-09-21 22:44shuehnerResolutionopen => out of date

Notes
(0041209)
shuehner   
2011-09-21 22:44   
This issue was amplified by a change in the testing environment which changed the pagesize to 5. In normal unchanged system this is a constant of 10.000 so this problem does happen but only if the total number of rows hits exactly a multiple of 10.000 so its very unlikely.

However in the new 3.0 major version the grid was totally rewritten and does not contain the Previous/Next buttons anymore so this problem just does not happen at all there anymore.