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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0035431
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2017-03-06 10:432022-02-01 08:05
ReporterinigosanchezView 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

0035431: Data in widgets is not sorted properly under some circumstances

DescriptionData in widgets are not sorted properly under some circumstances. When the query that generates the data of the widget has not an 'order by' clause the data is not sorted properly.

The problem can be found in updateSortByFields() method in QueryListDataSource class. This method is used to updates the order by clause of the HQL query and it is not managed properly the reported case.
Steps To Reproduce1) Install the "com.openbravo.support.test" module and update to the revision 15 (tag Issue29452).
1.1) Path https://code.openbravo.com/erp/mods/com.openbravo.support.test/ [^]
2) Log in as F&B International Group Admin
3) Add the "All invoices" widget into the workspace
4) Sort Business Partner by clicking in 'Business Partner' column header.
4.1) Note than "No items to show" message is showed.
5) Log out and Log in as System Administrator.
6) Go to Widget window > Select "All Invoices" widget > Go to Query subtab.
7) Add a "order by" clause in query. (e.g. add to the end of the hql query 'order by inv.businessPartner.id desc').
8) Log out and Log in as F&B International Group Admin.
8.1) Note than "All Invoices" widget is sorted properly. (In this case by Business Partner ID)
9) Sort Amount by clicking in 'Amount' column header.
9.1) Note than data is sorted properly.(In this case by Business Partner ID + Amount)
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to design defect 0029452 acknowledgedTriage Platform Base Data appears overlapped in widgets maximized view under some circumstances 

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2017-03-06 10:43 inigosanchez New Issue
2017-03-06 10:43 inigosanchez Assigned To => platform
2017-03-06 10:43 inigosanchez Modules => Core
2017-03-06 10:43 inigosanchez Triggers an Emergency Pack => No
2017-03-07 11:02 inigosanchez Relationship added related to 0029452
2017-04-07 09:03 alostale Status new => acknowledged
2017-04-07 09:03 alostale Summary Data in widgets are not sorted properly under some circumstances => Data in widgets is not sorted properly under some circumstances
2022-02-01 08:05 alostale Assigned To platform => Triage Platform Base


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker