Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0003697Openbravo ERPB. User interfacepublic2008-04-29 18:542008-06-12 09:44
user71 
user71 
normalminoralways
closedfixed 
5
 
2.35MP4 
No
Core
No
0003697: Grid repeats the same record in the 60th record
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):pag
 eSize)));

References Bug:
0002920
No tags attached.
blocks defect 0002920 closed user71 Grid repeats the same record in the 60th record 
Issue History

Notes
(0007286)
user71   
2005-06-01 00:00   
(edited on: 2008-06-12 09:44)
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=1954306 [^]
(0004146)
user71   
2008-05-06 15:05   
(edited on: 2008-06-12 09:27)
Logged In: YES
user_id=1964080
Originator: YES

Fixed since revision 3897 in the branch r2.3x

  - Changed in oracle: "start <= rownum <= end" to "start +1 <= rownum <= end", for work as postgres