Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0050166 | Retail Modules | Web POS | public | 2022-09-06 09:48 | 2022-09-09 11:00 |
|
Reporter | AugustoMauch | |
Assigned To | Retail | |
Priority | normal | Severity | critical | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0050166: State should be compressed before being persisted in the localstorage |
Description | The localstorage size limit is quite small (5Mb), so a very big state could not fit in it.
To make this problem less likely to happen, we should compress the state before persisting it. In some tests done using redux-persist-transform-compress, the size of the compressed state was 7x smaller than its uncompressed state. |
Steps To Reproduce | - |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0050185 | | new | Triage Platform Base | State is lost when upgrading from indexeddb persistence to localstorage persistence | depends on | backport | 0050207 | RR22Q3.1 | closed | Retail | State should be compressed before being persisted in the localstorage | depends on | backport | 0050208 | RR22Q2.3 | closed | Retail | State should be compressed before being persisted in the localstorage |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2022-09-06 09:48 | AugustoMauch | New Issue | |
2022-09-06 09:48 | AugustoMauch | Assigned To | => Retail |
2022-09-06 09:48 | AugustoMauch | Triggers an Emergency Pack | => No |
2022-09-06 09:49 | AugustoMauch | Status | new => scheduled |
2022-09-07 10:40 | AugustoMauch | Relationship added | related to 0050185 |
2022-09-07 17:14 | hgbot | Note Added: 0140822 | |
2022-09-07 17:27 | hgbot | Note Added: 0140823 | |
2022-09-09 09:55 | cberner | Status | scheduled => acknowledged |
2022-09-09 09:55 | cberner | Status | acknowledged => scheduled |
2022-09-09 11:00 | hgbot | Resolution | open => fixed |
2022-09-09 11:00 | hgbot | Status | scheduled => closed |
2022-09-09 11:00 | hgbot | Note Added: 0140904 | |
2022-09-09 11:00 | hgbot | Fixed in Version | => 22Q4 |
2022-09-09 11:00 | hgbot | Note Added: 0140905 | |
2022-09-09 11:00 | hgbot | Note Added: 0140906 | |
2022-09-09 11:00 | hgbot | Note Added: 0140907 | |
Notes |
|
(0140822)
|
hgbot
|
2022-09-07 17:14
|
|
|
|
(0140823)
|
hgbot
|
2022-09-07 17:27
|
|
|
|
(0140904)
|
hgbot
|
2022-09-09 11:00
|
|
|
|
(0140905)
|
hgbot
|
2022-09-09 11:00
|
|
|
|
(0140906)
|
hgbot
|
2022-09-09 11:00
|
|
|
|
(0140907)
|
hgbot
|
2022-09-09 11:00
|
|
|