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

View Revisions: Issue #51282 All Revisions ] Back to Issue ]
Summary 0051282: If localStorage does not have latest safebox information, updated it with the information stored in the backend
Revision 2023-03-13 09:41 by AugustoMauch
Description Sometimes, the information about currently attached safebox is not up to date on localStorage (root cause of this will be addressed in another issue). When that happens, we could start the POS:
- assuming that a safebox is attached, when it has already been removed, or
- assuming that there is no safebox attached, when one is currently in the POS

We are going to assume that the backend will always have the most up to date information, so when login in we will:
- make a request to the backend to check if the terminal has currently a safebox attached
- use that information to update the localStorage
Revision 2023-03-07 09:24 by guilleaer
Description We have demonstarted that this problem happens because a problem with the state persistance.
While we find a solution for this problem we should be able to develop a mitigation fix which:
1. Detects that a safebos which is not attached in the backoffice looks attacahed for POS
2. Remove safe box from the POS -> It will force users to select the safebox

Note: Usually this issue happens together with the problem of cashup (Working with a cashup which already exists"
Revision 2023-01-18 14:46 by AugustoMauch
Description There are several kinds of inicial count process, depending on whether an initial count for non-safebox payment methods is needed and also depending on whether a safebox is currently selected.

Depending on those parameters, one of these three configuration files will be used to trigger the initial count process:
- InitialCountSafeboxOnly.config.json
- FullInitialCount.config.json
- InitialCountStandardOnly.config.json

We want to add some log to the terminal log when deciding which of these three configuration files should be used, including information about why that decision was done.
Revision 2023-01-18 14:39 by AugustoMauch
Description Due to some problems in production, it will be useful to add log and verify which are the terminal values in initial count steps.


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker