Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0037656 | Retail Modules | Web POS | public | 2018-01-17 11:57 | 2018-01-25 14:59 | |||||||
Reporter | marvintm | |||||||||||
Assigned To | marvintm | |||||||||||
Priority | urgent | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | RR18Q1 | Fixed in Version | RR18Q1 | |||||||||
Merge Request Status | ||||||||||||
Review Assigned To | migueldejuana | |||||||||||
OBNetwork customer | ||||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0037656: Logclient information can accumulate in the terminal, and be continously sent to the backend server | |||||||||||
Description | The logclient information is saved temporarily in a local database table, and is sent to the server every 30 seconds. If the server correctly receives it, then the terminal removes it, and otherwise tries to send it again the next time. However, in some very specific cases, the server may erroneously conclude that the messages were not correctly saved, and then the terminal will send the messages again, and therefore the log messages will never be deleted from the terminal, and new messages will continuously accumulate until the terminal crashes. | |||||||||||
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") - Put a breakpoint in LogclientLoader class. - Wait until the log is sent from the WebPOS and the breakpoint stops. - Logout in the backoffice, and refresh the WebPOS. - Remove the breakpoint. With these steps, you ensure that you saved logclient messages in a wrong organization, and that the messages were not deleted from the WebPOS. - Now, log in with vallblanca user in the WebPOS. - The pending messages will be resent. However, this request will fail, and the messages will be kept in the terminal forever. There is no way to escape from this situation, other than deleting the cache. | |||||||||||
Proposed Solution | The LogClientLoader must be changed so that it is able to find records which were created even in unaccessible organizations. | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2018-01-17 11:57 | marvintm | Type | defect => backport | |||||||||
2018-01-17 11:57 | marvintm | Target Version | => RR18Q1 | |||||||||
2018-01-22 14:01 | hgbot | Checkin | ||||||||||
2018-01-22 14:01 | hgbot | Note Added: 0101846 | ||||||||||
2018-01-22 14:01 | hgbot | Status | scheduled => resolved | |||||||||
2018-01-22 14:01 | hgbot | Resolution | open => fixed | |||||||||
2018-01-22 14:01 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/retail/backports/3.0RR18Q1/org.openbravo.mobile.core/rev/9fbd99ce88c063f470bf41f786960502aab6ecd3 [^] | |||||||||
2018-01-25 14:59 | migueldejuana | Review Assigned To | => migueldejuana | |||||||||
2018-01-25 14:59 | migueldejuana | Note Added: 0101941 | ||||||||||
2018-01-25 14:59 | migueldejuana | Status | resolved => closed | |||||||||
2018-01-25 14:59 | migueldejuana | Fixed in Version | => RR18Q1 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|