Openbravo Issue Tracking System - Retail Modules
View Issue Details
0045451Retail ModulesSelfcheckoutpublic2020-11-16 12:262020-12-10 13:31
rafael_salmean 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
 
No
0045451: State is lost when refreshing the page on confirmExit
When refreshing the till (F5) while the confirmation panel for cancelling the current ticket is shown, the state is lost and the till navigates to the scan prodcut page, instead of keeping the confirm panel open.
- Start a till in SCO mode
- Add a product
- Click on exit
- While the exit panel is shown, press F5
- State is lost and the navigation goes to ScanProduct
Added patch with proposed solution.
No tags attached.
patch 0001-Added-localStorage-save-of-the-previous-steps-to-pre.patch (2,648) 2020-11-16 12:26
https://issues.openbravo.com/file_download.php?file_id=15092&type=bug
Issue History
2020-11-16 12:26rafael_salmeanNew Issue
2020-11-16 12:26rafael_salmeanAssigned To => Retail
2020-11-16 12:26rafael_salmeanFile Added: 0001-Added-localStorage-save-of-the-previous-steps-to-pre.patch
2020-11-16 12:26rafael_salmeanTriggers an Emergency Pack => No
2020-11-16 12:38rafael_salmeanResolution time => 1607295600
2020-11-24 06:36ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2020-11-24 11:08ranjith_qualiantech_comStatusnew => scheduled
2020-12-03 09:51hgbotNote Added: 0124701
2020-12-10 13:31hgbotResolutionopen => fixed
2020-12-10 13:31hgbotStatusscheduled => closed
2020-12-10 13:31hgbotNote Added: 0124761
2020-12-10 13:31hgbotNote Added: 0124762

Notes
(0124701)
hgbot   
2020-12-03 09:51   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.selfcheckout/-/merge_requests/9 [^]
(0124761)
hgbot   
2020-12-10 13:31   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.selfcheckout [^]
Changeset: 61a55c64afa7575c954b8cfb43f35f43699c8048
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2020-12-10T13:22:24+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.selfcheckout/-/commit/61a55c64afa7575c954b8cfb43f35f43699c8048 [^]

Fixed ISSUE-45451: State should be retained when refreshing SCO
State Step should be saved in localstorage, and should be used when refrehsing SCO
State previous step should be reset when completing ticket or redirect to POS

---
M web/org.openbravo.retail.selfcheckout/source/actions/doBack.js
M web/org.openbravo.retail.selfcheckout/source/actions/startApplication.js
M web/org.openbravo.retail.selfcheckout/source/components/defaultStep.js
M web/org.openbravo.retail.selfcheckout/source/panels/loginPOSPanel.js
---
(0124762)
hgbot   
2020-12-10 13:31   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.selfcheckout/-/merge_requests/9 [^]