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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0053519
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2023-09-21 18:202023-11-14 18:38
ReporterkchoperenaView Statuspublic 
Assigned Tocberner 
PriorityhighResolutionfixedFixed in Version24Q1
StatusclosedFix 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

0053519: Loading more than 10mb in localStorage creates an error loading POS2

DescriptionIf we configure pictures for coins and bills in back-end that exceed 10mb of localstore on the POS2, an error is happening
Steps To Reproduce1.- In back-end currency window, search EUR currency and add the images attached in the ZIP file
2.- Go to WebPOS and login
TagsNo tags attached.
Attached Filespng file icon Screenshot from 2023-09-21 16-53-49.png [^] (174,571 bytes) 2023-09-21 18:20

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0157091)
hgbot (developer)
2023-11-13 12:12

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1284 [^]
(0157150)
hgbot (developer)
2023-11-14 18:38

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1284 [^]
(0157151)
hgbot (developer)
2023-11-14 18:38

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 6443b1ba570b4bc497954ca4aa362a14a95aeb88
Author: Cristian Berner <cristian.berner@openbravo.com>
Date: 14-11-2023 17:38:08
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/6443b1ba570b4bc497954ca4aa362a14a95aeb88 [^]

Fixes ISSUE-53519: Loading more than 10mb in localStorage creates an error loading POS2

Extra localStorage was being used by images when these are assigned to
currency and are part of TerminalData. An entry to localStorage ->
oldTerminalData was being used for terminal data storage on masterdata
refresh, which resulted in max quota being reached.

To fix this, oldTerminalData is no longer saved in localStorage, it is only saved and used locally, in-memory.

---
A web-jspack/org.openbravo.core2/src/core/terminal/TerminalDataMasterdataUtils.js
M web-jspack/org.openbravo.core2/src/core/terminal/TerminalDataMasterdataHooks.js
M web-jspack/org.openbravo.core2/src/core/terminal/__test__/TerminalDataMasterdataHooks.test.js
---

- Issue History
Date Modified Username Field Change
2023-09-21 18:20 kchoperena New Issue
2023-09-21 18:20 kchoperena Assigned To => Retail
2023-09-21 18:20 kchoperena File Added: Screenshot from 2023-09-21 16-53-49.png
2023-09-21 18:20 kchoperena Triggers an Emergency Pack => No
2023-10-04 07:45 sreehari Assigned To Retail => sreehari
2023-10-04 10:54 sreehari Status new => scheduled
2023-10-11 16:59 marvintm Assigned To sreehari => Triage Platform Base
2023-11-06 10:28 AugustoMauch Assigned To Triage Platform Base => cberner
2023-11-13 12:12 hgbot Note Added: 0157091
2023-11-14 18:38 hgbot Resolution open => fixed
2023-11-14 18:38 hgbot Status scheduled => closed
2023-11-14 18:38 hgbot Note Added: 0157150
2023-11-14 18:38 hgbot Fixed in Version => 24Q1
2023-11-14 18:38 hgbot Note Added: 0157151


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker