Openbravo Issue Tracking System - POS2
View Issue Details
0051148POS2POSpublic2022-12-14 08:422022-12-19 09:54
meriem_azaf 
meriem_azaf 
normalmajorhave not tried
closedfixed 
5
 
23Q1 
No
0051148: Error on button logout
After login on POS2 for the first time (terminal key filled), if I click on the logout button, the till become unavailable. We have to refresh the Chrome navigator to reestablish the till .
1- Login in POS2 with terminal key.
2- Logout.

The till doesn’t response anymore.
No tags attached.
related to defect 0047184 closed alostale Confirmation dialog not available on reload, on masterdata load error 
Issue History
2022-12-14 08:42meriem_azafNew Issue
2022-12-14 08:42meriem_azafAssigned To => Retail
2022-12-14 08:42meriem_azafTriggers an Emergency Pack => No
2022-12-14 08:42meriem_azafAssigned ToRetail => meriem_azaf
2022-12-14 08:43meriem_azafStatusnew => scheduled
2022-12-14 08:45meriem_azafRelationship addedrelated to 0047184
2022-12-14 08:51hgbotNote Added: 0144624
2022-12-14 09:02meriem_azafDescription Updatedbug_revision_view_page.php?rev_id=25247#r25247
2022-12-19 09:53hgbotResolutionopen => fixed
2022-12-19 09:53hgbotStatusscheduled => closed
2022-12-19 09:53hgbotNote Added: 0144811
2022-12-19 09:54hgbotFixed in Version => 23Q1
2022-12-19 09:54hgbotNote Added: 0144812

Notes
(0144624)
hgbot   
2022-12-14 08:51   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1417 [^]
(0144811)
hgbot   
2022-12-19 09:53   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1417 [^]
(0144812)
hgbot   
2022-12-19 09:54   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 5fe081e84daed43757675c0de7d14a1b2879656d
Author: meriem azaf <meriem.azaf@openbravo.com>
Date: 19-12-2022 08:53:58
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/5fe081e84daed43757675c0de7d14a1b2879656d [^]

Fixes ISSUE-51148: Error on button logout

After login on POS2 for the first time (terminal key filled), if I click on the logout button, the till become unresponsive. We have to refresh the browser to reestablish the till.

The problem was in the confirmation dialog that we have it in two places index.js and TerminalAuthenticationScreen. So to fix this, we removed it from TerminalAuthenticationScreen.jsx. This is the same change that was done previously with the LoginScreen.jsx.

---
M web-jspack/org.openbravo.pos2/src/components/TerminalAuthentication/TerminalAuthenticationScreen.jsx
---