Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0035195 | Retail Modules | Web POS | public | 2017-02-08 12:33 | 2017-03-08 15:49 |
Reporter | aaroncalero | ||||
Assigned To | migueldejuana | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | RR17Q2 | |||
Merge Request Status | |||||
Review Assigned To | marvintm | ||||
OBNetwork customer | OBPS | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0035195: OBSecurity exception thrown when a cashup is processed | ||||
Description | It is possible the login in a web pos terminal, having the cashup from a different store. When this cashup is processed, an OBSecurityException is thrown, because at some point during the cashup processing, a FIN_Finacc_Transaction is created pointing to a cashup from a different organization. | ||||
Steps To Reproduce | Login in web pos in terminal VBS-1. Verify the value of OB.UTIL.localStorage.getItem('loggedTerminalName') on the browser console. It should be VBS-1. Logout. The value of OB.UTIL.localStorage.getItem('loggedTerminalName') should still be VBS-1. Change the url of the terminal to PS-1. The value of OB.UTIL.localStorage.getItem('loggedTerminalName') should still be VBS-1. Login in the PS-1 terminal. Verify the value of OB.UTIL.localStorage.getItem('loggedTerminalName') on the browser console. Now it will be null. Change the url of the terminal to VBS-1. The application will reload, the url will point to VBS-1, but the loaded application will point to PS-1 (verify the documentNo of the open receipt). Create a new ticket, add a product, and pay it. Lock screen. The login screen will show the VBS-1 terminal users. Login. Do a cashup. Go to the backend and verify the Errors While Importing POS Data window. There will be a new cashup entry with the following error: org.openbravo.base.exception.OBSecurityException: Entity Cashbook - Vall Blanca Store - EUR - - 10234 - 350 (FIN_Finacc_Transaction) with organization Vall Blanca Store references an entity Vall Blanca Store User - 08-02-2017 11:51:22 through its property obposAppCashup but this referenced entity belongs to an organization Posets Store which is not part of the natural tree of Vall Blanca Store | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=10482&type=bug ![]() https://issues.openbravo.com/file_download.php?file_id=10483&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2017-02-08 12:33 | aaroncalero | New Issue | |||
2017-02-08 12:33 | aaroncalero | Assigned To | => Retail | ||
2017-02-08 12:33 | aaroncalero | OBNetwork customer | => Yes | ||
2017-02-08 12:33 | aaroncalero | Resolution time | => 1487718000 | ||
2017-02-08 12:33 | aaroncalero | Triggers an Emergency Pack | => No | ||
2017-02-09 15:20 | migueldejuana | Assigned To | Retail => migueldejuana | ||
2017-02-09 15:20 | migueldejuana | Status | new => scheduled | ||
2017-02-24 10:22 | migueldejuana | File Added: issue35195_MobileCore.commit | |||
2017-02-24 10:22 | migueldejuana | File Added: issue35195PiMobile.commit | |||
2017-03-08 12:37 | hgbot | Checkin | |||
2017-03-08 12:37 | hgbot | Note Added: 0094826 | |||
2017-03-08 12:37 | hgbot | Status | scheduled => resolved | ||
2017-03-08 12:37 | hgbot | Resolution | open => fixed | ||
2017-03-08 12:37 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/fbcd9a9beb28e2d3a6022448d0d29b85894cdf33 [^] | ||
2017-03-08 12:38 | hgbot | Checkin | |||
2017-03-08 12:38 | hgbot | Note Added: 0094827 | |||
2017-03-08 12:38 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/fbcd9a9beb28e2d3a6022448d0d29b85894cdf33 [^] => http://code.openbravo.com/tools/automation/pi-mobile/rev/1274265bf27efca1c78ff639864b5132664af260 [^] | ||
2017-03-08 15:49 | marvintm | Review Assigned To | => marvintm | ||
2017-03-08 15:49 | marvintm | Status | resolved => closed | ||
2017-03-08 15:49 | marvintm | Fixed in Version | => RR17Q2 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|