Openbravo Issue Tracking System - Retail Modules
View Issue Details
0034672Retail ModulesWeb POSpublic2016-12-02 09:052016-12-23 14:26
mtaal 
Retail 
normalmajoralways
closedduplicate 
5
 
RR17Q1 
marvintm
No
0034672: Default page size (35000) of initial data load is too high for high volume cases
The default page size to load data from the backend is 35000 [1]. When there are many products or BPs this will load a big batch to the client to be inserted there. This insert takes a long time and requires lots of memory from the browser.

With 70000+ products load times were 15 mins or so.

The attached patch has been working correctly at a customer (hipertextil) for many months.

[1]
https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/7f3a3dde78ff/web/org.openbravo.mobile.core/source/data/ob-datasource.js#l495 [^]
Create a large set of products (70000) and put in assortment
clean cache
login to webpos
see that products get loaded in batches of 35000
See attached dif

It makes sense to backport this issue to previous releases Q3 and further.
No tags attached.
duplicate of defect 0034669RR17Q1 closed migueldejuana ProcessHQLQuery returns duplicates causing errors when inserting data and really slow login with many products 
diff decreasePaginationSize_mobile_core.diff (602) 2016-12-02 09:05
https://issues.openbravo.com/file_download.php?file_id=10145&type=bug
Issue History
2016-12-02 09:05mtaalNew Issue
2016-12-02 09:05mtaalAssigned To => Retail
2016-12-02 09:05mtaalFile Added: decreasePaginationSize_mobile_core.diff
2016-12-02 09:05mtaalTriggers an Emergency Pack => No
2016-12-23 14:26marvintmReview Assigned To => marvintm
2016-12-23 14:26marvintmRelationship addedduplicate of 0034669
2016-12-23 14:26marvintmNote Added: 0092977
2016-12-23 14:26marvintmStatusnew => closed
2016-12-23 14:26marvintmResolutionopen => duplicate

Notes
(0092977)
marvintm   
2016-12-23 14:26   
This issue has been fixed as part of the fix for the issue 34669.