Openbravo Issue Tracking System - POS2 |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0050731 | POS2 | Core | public | 2022-11-03 12:38 | 2022-11-08 09:42 |
|
Reporter | cberner | |
Assigned To | cberner | |
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 22Q3.3 | Fixed in Version | 22Q3.3 | |
Merge Request Status | approved |
Review Assigned To | |
OBNetwork customer | No |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0050731: Terminal log is lost on logout if state is removed before next login |
Description | Terminal log is saved when we logout from the application in the state. 0000145:0000030 seconds later, it is moved from state to indexedDB, where it is persisted. If this doesn't happen, because we close the application after logout, anything that is in the state, is susceptible to being removed and not persisted.
We should not lose this terminal log, by forcing save into indexedb just before logout. |
Steps To Reproduce | 1. Login WebPOS and do a cashup.
2. Refresh the application while in login screen, and then clear the current state -> OB.App.State.persistence.stateStorePersistor.purge() in devtools console
3. Try to login, check that terminal log is lost, by going to backend and looking at the terminal log window |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | blocks | defect | 0050720 | | closed | cberner | Terminal log is lost on logout if state is removed before next login |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2022-11-04 10:53 | guilleaer | Type | defect => backport |
2022-11-04 10:53 | guilleaer | Target Version | => 22Q3.3 |
2022-11-08 00:02 | hgbot | Note Added: 0143192 | |
2022-11-08 00:11 | hgbot | Note Added: 0143195 | |
2022-11-08 09:39 | hgbot | Merge Request Status | open => approved |
2022-11-08 09:42 | hgbot | Note Added: 0143215 | |
2022-11-08 09:42 | hgbot | Note Added: 0143216 | |
2022-11-08 09:42 | hgbot | Resolution | open => fixed |
2022-11-08 09:42 | hgbot | Status | scheduled => closed |
2022-11-08 09:42 | hgbot | Fixed in Version | => 22Q3.3 |
2022-11-08 09:42 | hgbot | Note Added: 0143219 | |
2022-11-08 09:42 | hgbot | Note Added: 0143220 | |
Notes |
|
(0143192)
|
hgbot
|
2022-11-08 00:02
|
|
|
|
(0143195)
|
hgbot
|
2022-11-08 00:11
|
|
|
|
(0143215)
|
hgbot
|
2022-11-08 09:42
|
|
|
|
(0143216)
|
hgbot
|
2022-11-08 09:42
|
|
|
|
(0143219)
|
hgbot
|
2022-11-08 09:42
|
|
|
|
(0143220)
|
hgbot
|
2022-11-08 09:42
|
|
|