Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0026868Openbravo ERPA. Platformpublic2014-06-13 15:052014-07-09 18:13
egoitz 
AugustoMauch 
immediatecriticalhave not tried
closedno change required 
5
3.0PR14Q2 
3.0PR14Q43.0PR14Q3 
AugustoMauch
Core
No
0026868: The getCount method of the ManageVariantsDS datasource computes all the records to get the total
The getCount method of the ManageVariantsDS datasource computes all the records to get the total
-Check the code. It calls getData and then exeuctes the .size
Use mathematical operations to get the total.
When filtering use the filters before doing the operations.
Performance
related to defect 00268673.0PR14Q4 closed daniOpenbravo The manage variants process causes the server crash with a big amount of possible combinations. 
related to defect 00269673.0PR14Q4 closed AugustoMauch Grids in Process Definition count number of records 
Issue History
2014-06-13 15:05egoitzNew Issue
2014-06-13 15:05egoitzAssigned To => AugustoMauch
2014-06-13 15:05egoitzModules => Core
2014-06-13 15:05egoitzResolution time => 1403128800
2014-06-13 15:05egoitzTriggers an Emergency Pack => No
2014-06-13 15:08egoitzPriorityurgent => immediate
2014-06-13 15:08egoitzTag Attached: Performance
2014-06-30 10:19alostaleRelationship addedrelated to 0026967
2014-06-30 13:10alostaleRelationship addedrelated to 0026867
2014-06-30 15:54egoitzTarget Version => PR14Q4
2014-07-09 18:13shankarbReview Assigned To => AugustoMauch
2014-07-09 18:13shankarbNote Added: 0068575
2014-07-09 18:13shankarbStatusnew => closed
2014-07-09 18:13shankarbResolutionopen => no change required
2014-07-09 18:13shankarbFixed in Version => PR14Q3

Notes
(0068575)
shankarb   
2014-07-09 18:13   
With the fix for the issue https://issues.openbravo.com/view.php?id=26967, [^] getCount method will not be called for pick and execute grids. The pick and execute grids behave in the same manner standard windows grids do.
Total number of records is not counted, in case they exceed the page size,
page size +1 is returned as size, so that smartclient handles the additional call while scrolling.