Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011710Openbravo ERPZ. Otherspublic2009-12-08 10:392011-09-21 22:46
arunkumar 
shuehner 
normalminorhave not tried
closedout of date 
5
2.40 
 
Core
No
0011710: Clicking Previous 5 and Next 5 display different page records
If we click Previous 5 and next 5 in the page it displays different number of records.
Prerequisite:

1.Have a 2.40 environment.
2.Change the no of rows to 5 using org.openbravo.erpCommon.utility.TableSQLData.maxRowsPerGridPage

Steps:

Click Information -> Product
Product popup window will be opened.
Assume Sales 2006 - EUR price list has 15 products.
Initially it displays 1-5/5
When we click "Next 5" we are able to see 1-27/27 then it displays 6-10/10
Now you are in the page 6-10/10. There you click "Next 5"
Here you can see 6-32/32. Then it will display 11-15/15.
In that page you can see another "Next 5" If you click that you can see 11-37/37.
page data grid
blocks defect 0011679 closed shuehner Clicking Previous 5 and Next 5 display different page records 
Issue History
2009-12-09 16:26psarobeTypedefect => backport
2009-12-09 16:26psarobefix_in_branch => 2.40
2009-12-09 16:27rafarodaAssigned Torafaroda => shuehner
2009-12-11 17:04rafarodaTag Attached: page data grid
2011-09-21 22:46shuehnerNote Added: 0041210
2011-09-21 22:46shuehnerStatusscheduled => closed
2011-09-21 22:46shuehnerResolutionopen => out of date

Notes
(0041210)
shuehner   
2011-09-21 22:46   
This issue is related to 11678 (Grid does not show total number of pages). As a approximation the grid does show the minimum number of records it can be sure of. Example being on first full 'page' of 10.000 the row number is known to be 10.000 (or more) and when being on the second full page the number is known to be 20.000 which is shown in the count explaining the change.

However in the new 3.0 major version the grid does both not have the previous/next buttons anymore and also the global count is no longer present so this issue does not apply anymore.