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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0028857
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2015-02-03 19:232015-03-02 09:49
ReportercaristuView Statuspublic 
Assigned Toinigosanchez 
PriorityhighResolutionfixedFixed in Version3.0PR15Q2
StatusclosedFix in branchFixed in SCM revision9b61d12d4904
ProjectionnoneETAnoneTarget Version3.0PR15Q3
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned Toalostale
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0028857: In minimized view, the query-list widgets just sort the data in the client

DescriptionIn minimized view, the query-list widgets just sort the data in the client. So it is only showing the data being displayed locally, instead of requesting the data to the server.
Steps To Reproduce1) Use a query-list widget with more than 100 records. For example, using the Invoice To Collect window in an environment with more that 100 invoices pending to be collected.

2) In minimized view, sort the records. Notice that only the sorting is done with the records already displayed in the widget
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0029027 closedcaristu In minimized view, the query-list widgets doesn't work as it's defined. 
related to defect 0029026 closedplatform In minimized view, the query-list widgets doesn't sort properly the data. 
related to defect 0029025 closedcaristu In maximized view, the query-list widgets doesn't load the data when it refreshed the browser. 

-  Notes
(0074896)
hgbot (developer)
2015-02-25 01:08

Repository: erp/devel/pi
Changeset: 9b61d12d49045f73e0323b4af95aa4a8e7ac9c43
Author: Inigo Sanchez <inigo.sanchez <at> openbravo.com>
Date: Wed Feb 25 01:00:06 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/9b61d12d49045f73e0323b4af95aa4a8e7ac9c43 [^]

Fixed issue 28857:Minimized view of query-list widgets sort data in the client

The problem was that in minimized view, the query-list widgets just sort the data
in the client. So it is only showing the data being displayed locally, instead of
requesting the data to the server.

This happens because "useClientSorting" was not setting properly. This is related
to the change of leaving of calculate total rows to improve performance.

Now, it works properly in minimized and maximized view because it has been setting
properly "useClientSorting" variable. The exceptional case is when the widget is in
minimized view and "ShowAllData" is not active. In this case, it will always make a
request for the data.

---
M modules/org.openbravo.client.querylist/web/org.openbravo.client.querylist/js/ob-querylist-widget.js
---
(0074897)
inigosanchez (developer)
2015-02-25 01:10

Test plan:

Create and refresh QueryList Widget with more than 100 rows and less than 100 rows:
* Show All Data active in minimized view.
* Show All Data active in maximized view.
* Show All Data inactive in minimized view.
* Show All Data inactive in maximized view.

NOTE: There is a problem sorting in one case. [When create a new widget for the first time]. This is related to the issue [1]. https://issues.openbravo.com/view.php?id=29027 [^]
(0074946)
hudsonbot (developer)
2015-02-25 21:22

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/96ba7b028cb7 [^]
Maturity status: Test
(0075059)
alostale (manager)
2015-03-02 09:49

code reviewed

tested in all cases, note first time the widget is added defaults are not working properly see 0029027

- Issue History
Date Modified Username Field Change
2015-02-03 19:23 caristu New Issue
2015-02-03 19:23 caristu Assigned To => AugustoMauch
2015-02-03 19:23 caristu Modules => Core
2015-02-03 19:23 caristu Resolution time => 1425423600
2015-02-03 19:23 caristu Triggers an Emergency Pack => No
2015-02-03 19:24 caristu Issue Monitored: networkb
2015-02-03 19:30 caristu version => pi
2015-02-04 09:02 caristu Summary In minimized view, the widgets sorts the data in the client => In minimized view, the query-list widgets just sort the data in the client
2015-02-04 09:02 caristu Description Updated View Revisions
2015-02-04 09:02 alostale Assigned To AugustoMauch => inigosanchez
2015-02-04 09:03 alostale Status new => scheduled
2015-02-04 09:03 alostale fix_in_branch => pi
2015-02-23 13:30 jonalegriaesarte Target Version 3.0PR15Q2 => 3.0PR15Q3
2015-02-25 01:00 inigosanchez Review Assigned To => alostale
2015-02-25 01:00 inigosanchez Resolution open => fixed
2015-02-25 01:00 inigosanchez fix_in_branch pi =>
2015-02-25 01:01 inigosanchez Issue Monitored: alostale
2015-02-25 01:08 hgbot Checkin
2015-02-25 01:08 hgbot Note Added: 0074896
2015-02-25 01:08 hgbot Status scheduled => resolved
2015-02-25 01:08 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/9b61d12d49045f73e0323b4af95aa4a8e7ac9c43 [^]
2015-02-25 01:10 inigosanchez Note Added: 0074897
2015-02-25 01:10 inigosanchez Relationship added related to 0029027
2015-02-25 01:11 inigosanchez Relationship added related to 0029026
2015-02-25 01:11 inigosanchez Relationship added related to 0029025
2015-02-25 21:22 hudsonbot Checkin
2015-02-25 21:22 hudsonbot Note Added: 0074946
2015-03-02 09:49 alostale Note Added: 0075059
2015-03-02 09:49 alostale Status resolved => closed
2015-03-02 09:49 alostale Fixed in Version => 3.0PR15Q2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker