Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0050479 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Retail Modules] Web POS | major | have not tried | 2022-09-22 16:21 | 2022-10-11 12:55 | |||
Reporter | cberner | View Status | public | |||||
Assigned To | cberner | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR22Q3.2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | RR22Q3.2 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
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 | 0050479: State compression on occasions breaks the state on deployed pos2 | |||||||
Description | If we refresh pos2 without any previous state and no data of the application, it breaks with the following error continuously appearing in the terminal: TypeError: Cannot read properties of undefined (reading 'length') at Object.checkMaximumNumberEventsPerMessage (POS2.js:16745:30) If we take a look at the state after this happens, we encounter a state that is semi-compressed, and this seems to be the thing that's generating that error. It is not very clear what is causing it, for now we know is not the service workers, as this also happens on locally node deployed pos2. Check the attached screenshot and video for more details. | |||||||
Steps To Reproduce | 1. Go to pos2 in livebuilds: https://livebuilds.openbravo.com/retail_pos2_pgsql/web/pos/?terminal=VBS-2 [^] 2. Open developer tools in chrome, and go to tab "Application" 3. Click on the left, click on Storage, and then on the button "Clear site data" Refresh the web, you should reproduce the problem. Check the attached gif for extra info. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|||||||||
|
![]() |
|
(0141957) hgbot (developer) 2022-10-11 12:32 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/421 [^] |
(0141960) hgbot (developer) 2022-10-11 12:55 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/421 [^] |
(0141961) hgbot (developer) 2022-10-11 12:55 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^] Changeset: 40e6af9157836e67eaebb1d7f18f698023b22622 Author: Cristian Berner <cristian.berner@openbravo.com> Date: 11-10-2022 10:55:43 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/40e6af9157836e67eaebb1d7f18f698023b22622 [^] Fixes ISSUE-50479: State persistence compression breaks in occasions on pos2 --- M web/org.openbravo.mobile.core/app/model/application-state/StatePersistence.js --- |
![]() |
|||
Date Modified | Username | Field | Change |
2022-10-11 12:24 | cberner | Type | defect => backport |
2022-10-11 12:24 | cberner | Target Version | => 22Q3.2 |
2022-10-11 12:27 | cberner | Project | POS2 => Retail Modules |
2022-10-11 12:28 | cberner | Category | Core => Web POS |
2022-10-11 12:28 | cberner | Target Version | 22Q3.2 => |
2022-10-11 12:28 | cberner | Target Version | => RR22Q3.2 |
2022-10-11 12:32 | hgbot | Note Added: 0141957 | |
2022-10-11 12:55 | hgbot | Resolution | open => fixed |
2022-10-11 12:55 | hgbot | Status | scheduled => closed |
2022-10-11 12:55 | hgbot | Note Added: 0141960 | |
2022-10-11 12:55 | hgbot | Fixed in Version | => RR22Q3.2 |
2022-10-11 12:55 | hgbot | Note Added: 0141961 |
Copyright © 2000 - 2009 MantisBT Group |