Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0050314
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] Coremajorhave not tried2022-09-22 16:212022-09-22 16:22
ReportercbernerView Statuspublic 
Assigned ToTriage Platform Base 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0050314: State compression on occasions breaks the state on deployed pos2

DescriptionIf 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 Reproduce1. 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.
TagsNo tags attached.
Attached Filespng file icon errorCompression.png [^] (112,986 bytes) 2022-09-22 16:21


png file icon semiCompressedState.png [^] (264,496 bytes) 2022-09-22 16:21
gif file icon errorsCompression.gif [^] (1,398,761 bytes) 2022-09-22 16:22

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2022-09-22 16:21 cberner New Issue
2022-09-22 16:21 cberner Assigned To => Triage Platform Base
2022-09-22 16:21 cberner File Added: errorCompression.png
2022-09-22 16:21 cberner Triggers an Emergency Pack => No
2022-09-22 16:21 cberner File Added: semiCompressedState.png
2022-09-22 16:22 cberner File Added: errorsCompression.gif


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker