Openbravo Issue Tracking System - POS2
View Issue Details
0056615POS2POSpublic2024-10-02 09:482024-10-02 09:48
asier_perez 
Retail 
normalminoralways
newopen 
5
 
 
No
0056615: Duplicated request when logging in with high data volumes
When a POS2 environment has very high data volumes, after the first incremental login, there is a request that is done twice in all the subsequent logins. This is the request:

/org.openbravo.mobile.core.service.jsonrest/org.openbravo.mobile.core.master.MasterDataLoader?$timeout=5000&model=BusinessPartnerLocation

Also it is important to note that this issue has been reproduced in a POS2 environment without modules, and with the 24Q3 release. You will find an attached json file with the commits it has been reproduced with.
1) To load the POS with high data volumes, download this file: https://drive.google.com/file/d/1Gx4sfNQM-7CAj95eBMkZfm1vtBtS53NT/view [^]
2) Move the file to the modules/ folder from an environment of POS2 without modules
3) Decompress the file
4) Go to the openbravo/ folder and execute "ant install.source && npm start"
5) Go to modules/org.openbravo.core2/ and execute "ant build"
6) Start up tomcat
7) Go to modules/org.openbravo.core2/web-jspack/org.openbravo.core2 and execute "npm start"
8) Log in backoffice
9) Go to Channel - Touchpoint Type
10) Select the record "HIGHVOL VBS POS2 Terminal Type"
11) Go to the Application Mode subtab and create a new record "Sales Touchpoint - Point of Sale (POS)"
12) Log in POS2 => It will be an incremental login that will take a while
13) Once logged in, close the till
14) Open developer tools in the Network tab - It can be helpful to filter the requests by BusinessPartner
15) Log in again => The BusinessPartnerLocation request will appear duplicated
No tags attached.
? Server_24Q3.json (4,556) 2024-10-02 09:48
https://issues.openbravo.com/file_download.php?file_id=20207&type=bug
Issue History
2024-10-02 09:48asier_perezNew Issue
2024-10-02 09:48asier_perezAssigned To => Retail
2024-10-02 09:48asier_perezFile Added: Server_24Q3.json
2024-10-02 09:48asier_perezTriggers an Emergency Pack => No

There are no notes attached to this issue.