Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0043990 | Retail Modules | Web POS | public | 2020-05-07 17:48 | 2020-05-21 10:22 |
Reporter | jarmendariz | ||||
Assigned To | jarmendariz | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | RR20Q3 | Fixed in Version | RR20Q3 | ||
Merge Request Status | |||||
Review Assigned To | marvintm | ||||
OBNetwork customer | No | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0043990: Application State is not cleared up when switching terminal or unlinking a terminal | ||||
Description | When application sources changes, all pending messages are sent and all storage (localstorage, indexedDB and state) are cleared up. This same behavior should be expected when switching to another terminal or, when terminal authentication is enabled, when terminal is unlinked of a physical device. | ||||
Steps To Reproduce | - In backoffice, with role "White Valley Group Admin", set Preference "Terminal Log Synchronization Interval in seconds" to a high value, for example: 10000 Now in WebPOS: - Login in the VBS-1 terminal - Using the JS Console in the developer tools, write a log line: OB.info('a log from VBS-1') - Check that this log is saved in the application State. Execute the following line: OB.App.State.getState().TerminalLog.events.find(ev => ev.m && ev.m.includes('VBS-1')) - The output of this command should return an object with the log message: {d: 1588864904515, o: true, t: "l", m: "a log from VBS-1 terminal; stackTrace: <anonymous>:1:4", l: "Info", …} - Now switch to another terminal, like VBS1001 - Once logged in, run the same command above to find our saved log message - Check that this command still returns the same TerminalLog entry, meaning that the State wasn't cleared up. | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2020-05-07 17:48 | jarmendariz | New Issue | |||
2020-05-07 17:48 | jarmendariz | Assigned To | => jarmendariz | ||
2020-05-07 17:48 | jarmendariz | OBNetwork customer | => No | ||
2020-05-07 17:48 | jarmendariz | Triggers an Emergency Pack | => No | ||
2020-05-07 17:49 | jarmendariz | Status | new => scheduled | ||
2020-05-12 17:54 | jarmendariz | Review Assigned To | => marvintm | ||
2020-05-14 12:05 | hgbot | Checkin | |||
2020-05-14 12:05 | hgbot | Note Added: 0119866 | |||
2020-05-14 12:05 | hgbot | Status | scheduled => resolved | ||
2020-05-14 12:05 | hgbot | Resolution | open => fixed | ||
2020-05-14 12:05 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/2f2f963b3ced4ff10f59396819140241e900c113 [^] | ||
2020-05-14 12:06 | hgbot | Checkin | |||
2020-05-14 12:06 | hgbot | Note Added: 0119867 | |||
2020-05-21 10:22 | marvintm | Status | resolved => closed | ||
2020-05-21 10:22 | marvintm | Fixed in Version | => RR20Q3 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|