Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0040332 | Retail Modules | Sessions | public | 2019-03-06 16:46 | 2019-05-06 13:05 | |||||||
Reporter | aaroncalero | |||||||||||
Assigned To | ranjith_qualiantech_com | |||||||||||
Priority | high | Severity | major | Reproducibility | random | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | |||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | migueldejuana | |||||||||||
OBNetwork customer | Gold | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0040332: [Sessions] Under specific circumstances OpenSessionPOS is called without the cashUpReportInformation parameter | |||||||||||
Description | There is a hook[1] in the sessions module that, under specific circumstances, is calling the OpenSessionsPOS process without the cashupReportInformation parameter, which is a mandatory parameter for the execution of the process. When this happens, the Open till process fails and the till is not opened, and a record is created in the Errors While Importing POS Data window. [1] https://code.openbravo.com/erp/pmods/org.openbravo.retail.sessions/file/tip/web/org.openbravo.retail.sessions/js/components/loginhook.js#l407 [^] | |||||||||||
Steps To Reproduce | This specific execution of the process only happens when the object OB.UTIL.localStorage.getItem('pendingSessions') has data, which seems to happen if the OpenSessionsPOS has failed first (i.e. the system was offline or with heavy load). 1. In an environment with Sessions installed, login in WebPOS and do the Cash Up process. The system will automatically logout in the end of the process. 2. Login in backend and configure the Web POS Synchronized mode preference. 3. Login in WebPOS again. The Open till window will be shown. 4. Complete the Open Till process. The server call needs to end with error, so the errorCallback is executed and the pendingSessions object is created. 5. The login process will continue normally, but when the next runSyncProcess is executed (which happens automatically at the end of the login process), the pending sessions hook will execute and the process will fail in the server | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2019-03-06 16:46 | aaroncalero | New Issue | ||||||||||
2019-03-06 16:46 | aaroncalero | Assigned To | => Retail | |||||||||
2019-03-06 16:46 | aaroncalero | OBNetwork customer | => Gold | |||||||||
2019-03-06 16:46 | aaroncalero | Resolution time | => 1553036400 | |||||||||
2019-03-06 16:46 | aaroncalero | Triggers an Emergency Pack | => No | |||||||||
2019-03-06 17:45 | rqueralta | Assigned To | Retail => rqueralta | |||||||||
2019-03-06 18:29 | aaroncalero | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=18396#r18396 | |||||||||
2019-04-29 15:23 | ranjith_qualiantech_com | Assigned To | rqueralta => ranjith_qualiantech_com | |||||||||
2019-04-30 10:00 | ranjith_qualiantech_com | Status | new => scheduled | |||||||||
2019-04-30 11:39 | hgbot | Checkin | ||||||||||
2019-04-30 11:39 | hgbot | Note Added: 0111379 | ||||||||||
2019-04-30 14:39 | ranjith_qualiantech_com | Status | scheduled => resolved | |||||||||
2019-04-30 14:39 | ranjith_qualiantech_com | Resolution | open => fixed | |||||||||
2019-05-06 13:04 | migueldejuana | Review Assigned To | => migueldejuana | |||||||||
2019-05-06 13:04 | migueldejuana | Note Added: 0111498 | ||||||||||
2019-05-06 13:04 | migueldejuana | Status | resolved => closed | |||||||||
2019-09-18 08:50 | ranjith_qualiantech_com | Relationship added | causes 0041830 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|