Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037660Retail ModulesWeb POSpublic2018-01-17 12:232018-03-07 13:48
marvintm 
Retail 
urgentmajoralways
newopen 
5
 
 
No
0037660: Logclient information may be saved in a wrong organization if context is changed
It is possible to generate logclient messages in a different organization, if the context is changed in the same browser.
- Log in the WebPOS with terminal VBS-1 with Openbravo user
- Open the backoffice in another tab in the same browser.
- Change the organization in backoffice to "Central Mountain")
- Do some actions in the WebPOS, and wait for the logclient to be synchronized.
- Check the database, and see that the messages were created in a wrong organization.
Use the deviceid to find out the correct organization and set the context properly so that this problem is avoided.
No tags attached.
related to defect 0037655 closed marvintm Logclient information can accumulate in the terminal, and be continously sent to the backend server 
Issue History
2018-01-17 12:23marvintmNew Issue
2018-01-17 12:23marvintmAssigned To => Retail
2018-01-17 12:23marvintmTriggers an Emergency Pack => No
2018-01-17 12:23marvintmRelationship addedrelated to 0037655
2018-03-03 08:19ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2018-03-03 08:20ranjith_qualiantech_comStatusnew => scheduled
2018-03-05 07:50hgbotCheckin
2018-03-05 07:50hgbotNote Added: 0102969
2018-03-05 07:50hgbotStatusscheduled => resolved
2018-03-05 07:50hgbotResolutionopen => fixed
2018-03-05 07:50hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/0c5cf3c6ecb0dcbd248a057ec9066533053f4c07 [^]
2018-03-07 13:40hgbotCheckin
2018-03-07 13:40hgbotNote Added: 0103059
2018-03-07 13:41marvintmStatusresolved => new
2018-03-07 13:41marvintmResolutionfixed => open
2018-03-07 13:41marvintmAssigned Toranjith_qualiantech_com => Retail
2018-03-07 13:41marvintmTypedefect => design defect
2018-03-07 13:48marvintmNote Added: 0103061

Notes
(0102969)
hgbot   
2018-03-05 07:50   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 0c5cf3c6ecb0dcbd248a057ec9066533053f4c07
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Mar 05 12:20:02 2018 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/0c5cf3c6ecb0dcbd248a057ec9066533053f4c07 [^]

Fixed issue 37660 : Logclient should be created based on POS Organzation instead of erp session organization

---
M src/org/openbravo/mobile/core/utils/LogClientLoader.java
---
(0103059)
hgbot   
2018-03-07 13:40   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 5aea858caa544d8eaee0321c057934b96d8bb35f
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Wed Mar 07 13:40:27 2018 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/5aea858caa544d8eaee0321c057934b96d8bb35f [^]

Related to issue 37660. Change was causing problems in other mobile applications apart from WebPOS

---
M src/org/openbravo/mobile/core/utils/LogClientLoader.java
---
(0103061)
marvintm   
2018-03-07 13:48   
After discussing it internally, we have decided that we should not fix this issue as of now. It's actually a design defect, that comes from the fundamental limitation in Openbravo that different applications share the same session, and the fix should be changing that instead of doing some ad-hoc change in every process.