Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0032344
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorrandom2016-02-25 15:072022-02-01 08:05
ReporteralostaleView Statuspublic 
Assigned ToTriage Platform Base 
PrioritynormalResolutionopenFixed in Version
StatusacknowledgedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0032344: HQL based tables don't can produce incorrect pagination

DescriptionWhen 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.
Steps To Reproduce1. 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
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0032201 closedplatform Unnescessary performance penalty while sorting and filtering column of HQL Datasources used in P&E windows 

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2016-02-25 15:07 alostale New Issue
2016-02-25 15:07 alostale Assigned To => platform
2016-02-25 15:07 alostale Modules => Core
2016-02-25 15:07 alostale Triggers an Emergency Pack => No
2016-02-25 15:07 alostale Status new => acknowledged
2016-02-25 15:07 alostale Relationship added related to 0032201
2022-02-01 08:05 alostale Assigned To platform => Triage Platform Base


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker