Openbravo Issue Tracking System - POS2
View Issue Details
0052273POS2POSpublic2023-04-27 10:422023-04-27 17:23
AugustoMauch 
AugustoMauch 
normalminorhave not tried
closedfixed 
5
 
23Q1.323Q1.2 
QA functional test
2023-04-19
https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1668/diffs?commit_id=dc1279dd686f0cc3d602c191a2a77e593917a08c [^]
No
0052273: Till is blocked if we try to access keymap editor in offline mode - when terminal still does not know that it was offline
Till is blocked if we try to access keymap editor in offline mode when the terminal still does not know that it was offline. If the connectivity is lost when the confirmation popup is opened, the terminal is still blocked
1- Open POS2
2- Execute this command to force the confirmation popup when the keymap editor is opened: OB.UTIL.localStorage.setItem('MasterdataLastTotalRefresh', '1682490078730')
3- Open the Keymap Editor, the confirmation popup wll be open. Do not click any button yet
4- Remove the internet connection from the POS
5- Click on YES. The terminal will get blocked
No tags attached.
blocks defect 0052271 closed meriem_azaf Till is blocked if we try to access keymap editor in offline mode - when terminal still does not know that it was offline 
Issue History
2023-04-27 10:43AugustoMauchTypedefect => backport
2023-04-27 10:43AugustoMauchTarget Version => 23Q1.3
2023-04-27 17:14hgbotNote Added: 0149028
2023-04-27 17:23hgbotResolutionopen => fixed
2023-04-27 17:23hgbotStatusscheduled => closed
2023-04-27 17:23hgbotNote Added: 0149031
2023-04-27 17:23hgbotFixed in Version => 23Q1.2
2023-04-27 17:23hgbotNote Added: 0149032

Notes
(0149028)
hgbot   
2023-04-27 17:14   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1065 [^]
(0149031)
hgbot   
2023-04-27 17:23   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1065 [^]
(0149032)
hgbot   
2023-04-27 17:23   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 4e81111bf1a7633b33f8e2b1735c51b8d75cc0d1
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 27-04-2023 17:11:50
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/4e81111bf1a7633b33f8e2b1735c51b8d75cc0d1 [^]

Fixes ISSUE-52273: Keymap Editor can be open even if network connectivity was just lost

A new try/catch block has been introduced to manage properly the case when the terminal is not yet aware that it is offline
when opening the Keymap Editor window

---
M web-jspack/org.openbravo.core2/src/core/terminal/TerminalDataMasterdataHooks.js
---