Openbravo Issue Tracking System - Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0051222 | Modules | Advanced Warehouse Operations | public | 2022-12-21 13:48 | 2023-05-29 13:14 |
Reporter | cberner | ||||
Assigned To | Triage Omni WMS | ||||
Priority | normal | Severity | critical | Reproducibility | have not tried |
Status | new | Resolution | open | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Regression date | |||||
Regression introduced by commit | |||||
Regression level | |||||
Review Assigned To | |||||
Support ticket | |||||
OBNetwork customer | |||||
Regression introduced in release | |||||
Summary | 0051222: scanEvents and selectedLine data is currently persisted in localStorage and never removed | ||||
Description | When we scan an item from Inventory Count or Distribution Order(as examples), a scan event is saved in localStorage under the key "scanEvents". This events are saved per document and are never removed from the local storage, not even when the document has been completed/processed. This will result in problems if the terminal is used long enough, as the localStorage usage will keep growing until it reaches the limit(5MB in chrome). And when that limit is reached, the state persistence will start failing, as it is also saved in local storage. Which might result in application not working properly. Also, when a document is opened and a line is selected, an entry is added to localstorage "selectedLine" property, which only increases and is never removed. | ||||
Steps To Reproduce | ## Prior, assign some UPC/EAN to a product so it is scaneable 1. Login AWO 2. Go to Count(Inventory Count) and start the counting process 3. Try to scan some items After scan, check in devtools: Application -> LocalStorage -> scanEvents, you should be able to see some events there. Try to complete the inventory count, and see that the events are still there. Also check the selectedLine localstorage property, it gets bigger the more documents you open with a line selected: OB.UTIL.localStorage.getItem('selectedLine'); | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2022-12-21 13:48 | cberner | New Issue | |||
2022-12-21 13:48 | cberner | Assigned To | => Triage Omni WMS | ||
2022-12-22 09:24 | cberner | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=25291#r25291 | ||
2023-01-13 10:59 | cberner | Summary | scanEvents data is currently persisted in localStorage and never removed => scanEvents and selectedLine data is currently persisted in localStorage and never removed | ||
2023-01-13 10:59 | cberner | Description Updated | bug_revision_view_page.php?rev_id=25387#r25387 | ||
2023-01-13 10:59 | cberner | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=25388#r25388 | ||
2023-05-29 13:14 | AugustoMauch | Note Added: 0150411 | |||
2023-05-29 13:14 | AugustoMauch | Severity | major => critical | ||
2023-05-29 13:17 | AugustoMauch | Note Edited: 0150411 | bug_revision_view_page.php?bugnote_id=0150411#r26150 |
Notes | |||||
|
|||||
|
|