Openbravo Issue Tracking System - POS2
View Issue Details
0052272POS2POSpublic2023-04-27 10:422023-04-27 17:23
AugustoMauch 
AugustoMauch 
normalminorhave not tried
closedfixed 
5
 
23Q223Q2 
QA functional test
2023-04-19
https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1668/diffs?commit_id=dc1279dd686f0cc3d602c191a2a77e593917a08c [^]
No
0052272: 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 => 23Q2
2023-04-27 17:18hgbotNote Added: 0149030
2023-04-27 17:23hgbotNote Added: 0149033
2023-04-27 17:23hgbotResolutionopen => fixed
2023-04-27 17:23hgbotStatusscheduled => closed
2023-04-27 17:23hgbotFixed in Version => 23Q2
2023-04-27 17:23hgbotNote Added: 0149034

Notes
(0149030)
hgbot   
2023-04-27 17:18   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1066 [^]
(0149033)
hgbot   
2023-04-27 17:23   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1066 [^]
(0149034)
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: 1037a56be6580f7a08ed72c8a977450cb7ff9010
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 27-04-2023 17:17:28
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/1037a56be6580f7a08ed72c8a977450cb7ff9010 [^]

Fixes ISSUE-52272: 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
---