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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0026911
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformcriticalalways2014-06-19 18:032014-06-22 09:23
ReporteregoitzView Statuspublic 
Assigned ToAugustoMauch 
PriorityimmediateResolutionfixedFixed in Version3.0PR14Q3
StatusclosedFix in branchpiFixed in SCM revision032fb3d55363
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version3.0PR14Q2.1SCM revision 
Review Assigned Toshankarb
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0026911: The request to the datasource are done several times when opening a selector from a 2.50 process popup

DescriptionThe request to the datasource are done several times when opening a selector from a 2.50 process popup
Steps To Reproduce-Define new property preference selecting the propery orphan lines and using the value Y.
-Create 300 productos. It can be easly done using product characteristics.
-Logout and login
-Go to return from customer window
-Create a new header
-Click on the insert orphan lines button
-A popup is opened with a product selector
-Click on the selector to see all the options.
*4 request are done to the datasource with the following pagination
0-75
75-150
150-225
225-300
TagsPerformance
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00238893.0MP24 closedAugustoMauch When searching on the field of a new selector the request to the datasource is done twice 
related to defect 0027011 closedjonalegriaesarte Memory leaks using new selector on old parameters popus 
related to defect 0027088 closedalostale Wrong behavior with obuisel selectors in manual windows 
related to defect 0027070 closedrafaroda In window "Settle / Protest Remittances", "search" button does not filter the first time 
related to defect 00276323.0PR15Q1 closedalostale The query for a querywidget is executed three times 

-  Notes
(0068216)
AugustoMauch (manager)
2014-06-20 11:45

Repository: erp/devel/pi
Changeset: 032fb3d553637702f5d14a6b0b2e8f8f23bf1c68
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Fri Jun 20 11:42:57 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/032fb3d553637702f5d14a6b0b2e8f8f23bf1c68 [^] [^]

Fixes issue 26911: Multiple requests to selector datasource in manual popups

Pick lists and grids use a property called drawAllMaxCells, that is used to determine how many cells should be fetched from the datasource, its default value is 250. If after making a datasource call smartclient finds out that the number of retrieved cells is lower than drawAllMaxCells, it will do another datasource call, and repeat this process until the number of cells fetched are higher than drawAllMaxCells or until all cells have been fetched.

This is not the intented behaviour, we want the rows to be fetched when the user scrolls down and is out of cached rows. This is achieved by setting drawAllMaxCells to 0.

---
M modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-widget.js
---
(0068237)
shankarb (reporter)
2014-06-22 09:23

Code reviewed and verified in pi changeset d4e6319bf664.

- Issue History
Date Modified Username Field Change
2014-06-19 18:03 egoitz New Issue
2014-06-19 18:03 egoitz Assigned To => dmiguelez
2014-06-19 18:03 egoitz Modules => Core
2014-06-19 18:03 egoitz Resolution time => 1403388000
2014-06-19 18:03 egoitz Triggers an Emergency Pack => No
2014-06-19 18:04 egoitz Assigned To dmiguelez => AugustoMauch
2014-06-19 18:04 egoitz Category 09. Financial management => A. Platform
2014-06-20 09:09 alostale Tag Attached: Performance
2014-06-20 10:13 AugustoMauch Relationship added related to 0023889
2014-06-20 10:49 egoitz Steps to Reproduce Updated View Revisions
2014-06-20 11:07 alostale Summary The request to the datasource are done several times when opening a selector from a process popup => The request to the datasource are done several times when opening a selector from a 2.50 process popup
2014-06-20 11:07 alostale Description Updated View Revisions
2014-06-20 11:43 AugustoMauch Issue Monitored: shankarb
2014-06-20 11:43 AugustoMauch Review Assigned To => shankarb
2014-06-20 11:45 AugustoMauch Note Added: 0068216
2014-06-20 11:46 AugustoMauch Status new => scheduled
2014-06-20 11:46 AugustoMauch fix_in_branch => pi
2014-06-20 11:46 AugustoMauch Status scheduled => resolved
2014-06-20 11:46 AugustoMauch Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/032fb3d553637702f5d14a6b0b2e8f8f23bf1c68 [^]
2014-06-20 11:46 AugustoMauch Resolution open => fixed
2014-06-22 09:23 shankarb Note Added: 0068237
2014-06-22 09:23 shankarb Status resolved => closed
2014-06-22 09:23 shankarb Fixed in Version => PR14Q3
2014-07-03 23:19 egoitz Relationship added related to 0027011
2014-07-16 08:13 alostale Relationship added related to 0027088
2014-07-16 08:13 alostale Relationship added related to 0027070
2014-09-22 13:42 alostale Relationship added related to 0027632


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker