Openbravo Issue Tracking System - POS2
View Issue Details
0057541POS2POSpublic2024-12-02 12:342025-01-20 12:10
fermin_ostivar 
meriem_azaf 
normalminoralways
closedfixed 
5
pi 
24Q4.124Q4.1 
No
0057541: It is possible to work with a till unlinked, discarding Terminal Authentication Change popup
If a terminal is unlinked, it is possible to work until the next login, discarding the "Terminal Authentication Change" popup
[BOS]
Terminal Authenticaion enable -> Y
Set Terminal Key Identifier VBS-2
 
[POS]
https://livebuilds.openbravo.com/context/retail_pos2_pgsql/web/pos/?terminal=VBS-2 [^]
Login and link
Logout
 
[BOS]
Unlink
 
[POS]
F5 (Mandatory before login to reproduce)
Login
Click out of the "Terminal Authentication Change" popup you can continue
Not allowed to discard the popup and force logout to link again
No tags attached.
blocks defect 0057345 closed meriem_azaf It is possible to work with a till unlinked, discarding Terminal Authentication Change popup 
Issue History
2024-12-30 14:21AugustoMauchTypedefect => backport
2024-12-30 14:21AugustoMauchTarget Version => 24Q4.1
2025-01-17 09:37hgbotNote Added: 0174266
2025-01-20 12:10hgbotNote Added: 0174386
2025-01-20 12:10hgbotResolutionopen => fixed
2025-01-20 12:10hgbotStatusscheduled => closed
2025-01-20 12:10hgbotFixed in Version => 24Q4.1
2025-01-20 12:10hgbotNote Added: 0174387

Notes
(0174266)
hgbot   
2025-01-17 09:37   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3361 [^]
(0174386)
hgbot   
2025-01-20 12:10   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3361 [^]
(0174387)
hgbot   
2025-01-20 12:10   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 602b2a450f4b5ab1d49796877cd4b2147a6741ae
Author: meriem azaf <m.azaf@orisha.com>
Date: 20-01-2025 11:03:49
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/602b2a450f4b5ab1d49796877cd4b2147a6741ae [^]

Fixes ISSUE-57541: It is possible to work with a till unlinked, discarding Terminal Authentication Change popup

If a terminal is unlinked, it is possible to work until the next login, discarding the "Terminal Authentication Change" popup.

To fix this, we add the canDismiss: false to be not dismissble.

---
M web-jspack/org.openbravo.pos2/src/authentication/checkTerminalAuth.js
---