Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0002920Openbravo ERPB. User interfacepublic2008-04-22 10:412008-06-12 09:43
user71 
user71 
normalminoralways
closedfixed 
5
 
 
No
Core
No
0002920: Grid repeats the same record in the 60th record
Description:

If a window has more than 60 records, the 60th record is repeated. It shows the same record for the 60th and 61st.
And it is not possible to edit the second one (the repeated one).

Environment:

Openbravo 2.35MP1
Oracle
FF2

Steps:
1.Go to Dictionary Application > Tables and columns.
2.Go to the 60th record. It appears duplicated.

Note:

In DataGrid.java line
data = execquery.select(offset,pageSize);

should be replaced by this

data = execquery.select((offset!=0?(offset+1):offset),((offset!=0?(pageSize-1):pageSize)));
No tags attached.
depends on backport 0003697 closed user71 Grid repeats the same record in the 60th record 
Issue History

Notes
(0006509)
user71   
2005-06-01 00:00   
(edited on: 2008-06-12 09:43)
This bug was originally reported in SourceForge bug tracker and then migrated to Mantis.

You can see the original bug report in:
https://sourceforge.net/support/tracker.php?aid=1948555 [^]
(0003605)
user71   
2008-04-29 18:49   
(edited on: 2008-06-12 09:25)
Logged In: YES
user_id=1964080
Originator: NO

It happens only in ORACLE
(0003606)
user71   
2008-05-06 12:20   
(edited on: 2008-06-12 09:25)
Logged In: YES
user_id=1964080
Originator: NO

Fixed since revision 3948
Branch: trunk

- Change range in dataGrids [start <= rownum <= end] into [start + 1 <= rownum <= end] to work like postgres