Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0032344Openbravo ERPA. Platformpublic2016-02-25 15:072022-02-01 08:05
alostale 
Triage Platform Base 
normalminorrandom
acknowledgedopen 
5
 
 
Core
No
0032344: HQL based tables don't can produce incorrect pagination
When a grid build on top of a HQL based table is fetched before sorting by any column, id property is not added to the ORDER BY clause. This can cause, in case there are several pages and the default sorting to be done by non-unique values, to return duplicated records in different pages. Id is always appended to guarantee uniqueness in sorting so a record can only be in a given page.

Note when a sorting on any column is applied, id field is added to the order by.
1. Open Return to Vendor window
2. Create a header
3. Open Pick/Edit Lines process
  -> ERROR: check query executed, it should add id field but it does
4. Sort by Shipment Number
  -> CORRECT: M_InOutLine_ID column is added to the order by
No tags attached.
related to defect 0032201 closed platform Unnescessary performance penalty while sorting and filtering column of HQL Datasources used in P&E windows 
Issue History
2016-02-25 15:07alostaleNew Issue
2016-02-25 15:07alostaleAssigned To => platform
2016-02-25 15:07alostaleModules => Core
2016-02-25 15:07alostaleTriggers an Emergency Pack => No
2016-02-25 15:07alostaleStatusnew => acknowledged
2016-02-25 15:07alostaleRelationship addedrelated to 0032201
2022-02-01 08:05alostaleAssigned Toplatform => Triage Platform Base

There are no notes attached to this issue.