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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0037660
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Retail Modules] Web POSmajoralways2018-01-17 12:232018-03-07 13:48
ReportermarvintmView Statuspublic 
Assigned ToRetail 
PriorityurgentResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision0c5cf3c6ecb0
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0037660: Logclient information may be saved in a wrong organization if context is changed

DescriptionIt is possible to generate logclient messages in a different organization, if the context is changed in the same browser.
Steps To Reproduce- 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.
Proposed SolutionUse the deviceid to find out the correct organization and set the context properly so that this problem is avoided.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0037655 closedmarvintm Logclient information can accumulate in the terminal, and be continously sent to the backend server 

-  Notes
(0102969)
hgbot (developer)
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 (developer)
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 (manager)
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.

- Issue History
Date Modified Username Field Change
2018-01-17 12:23 marvintm New Issue
2018-01-17 12:23 marvintm Assigned To => Retail
2018-01-17 12:23 marvintm Triggers an Emergency Pack => No
2018-01-17 12:23 marvintm Relationship added related to 0037655
2018-03-03 08:19 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2018-03-03 08:20 ranjith_qualiantech_com Status new => scheduled
2018-03-05 07:50 hgbot Checkin
2018-03-05 07:50 hgbot Note Added: 0102969
2018-03-05 07:50 hgbot Status scheduled => resolved
2018-03-05 07:50 hgbot Resolution open => fixed
2018-03-05 07:50 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/0c5cf3c6ecb0dcbd248a057ec9066533053f4c07 [^]
2018-03-07 13:40 hgbot Checkin
2018-03-07 13:40 hgbot Note Added: 0103059
2018-03-07 13:41 marvintm Status resolved => new
2018-03-07 13:41 marvintm Resolution fixed => open
2018-03-07 13:41 marvintm Assigned To ranjith_qualiantech_com => Retail
2018-03-07 13:41 marvintm Type defect => design defect
2018-03-07 13:48 marvintm Note Added: 0103061


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker