Openbravo Issue Tracking System - Retail Modules
View Issue Details
0050185Retail ModulesWeb POSpublic2022-09-07 10:332022-09-07 10:33
AugustoMauch 
Triage Platform Base 
normalmajorhave not tried
newopen 
5
 
 
No
0050185: State is lost when upgrading from indexeddb persistence to localstorage persistence
In this issue [1] we started compressing the state before persisting it. That issue supports the migration from an environment where the state was already stored in localstorage, but uncompressed.

What is pending is to support upgrading from an environment where the state was stored in IndexedDB, that is what will be done in this issue. Until this is done, if an environment is upgraded from a version where the state is stored in IndexedDB to the latest version, the stored state will be lost.

[1] https://issues.openbravo.com/view.php?id=50166 [^]
- In an environment where the state is stored in indexedDB (i.e. 22Q1), create a ticket, add a couple of products and do not pay for it.
- Upgrade to the latest environment where the fix for [1] is already applied
- Check that when the application is started and empty ticket is displayed, the ticket created in step #1 was lost.

[1] https://issues.openbravo.com/view.php?id=50166 [^]
No tags attached.
related to feature request 0050166 closed Retail State should be compressed before being persisted in the localstorage 
Issue History
2022-09-07 10:33AugustoMauchNew Issue
2022-09-07 10:33AugustoMauchAssigned To => Triage Platform Base
2022-09-07 10:33AugustoMauchTriggers an Emergency Pack => No
2022-09-07 10:40AugustoMauchRelationship addedrelated to 0050166

There are no notes attached to this issue.