Openbravo Issue Tracking System - POS2
View Issue Details
0056140POS2POSpublic2024-07-31 14:502024-08-06 11:43
AugustoMauch 
AugustoMauch 
normalmajorhave not tried
closedfixed 
5
 
24Q4 
No
0056140: Touchpoint Type -> Application Mode terminal property is not taking into account the Is Active flag
The Touchpoint Type -> Application Mode tab is used to determine the application modes that will be available for each touchpoint type.

There is a terminal property ("applicationModes") that contains the list of available application modes for a given terminal type, but it is not taking into account the Is Active flag, so it is including application mode access entries that are actually disabled.
- In the backoffice, Configure a terminal type so that it has access to both POS and SCO
- Log in in that terminal type in POS, notice the Switch to SCO button is visible in the application bar.
- In the backoffice, Update the Terminal Type -> Application mode configuration, disable the access to SCO by unchecking the Is Active flag for the SCO entry.
- In the POS, refresh the masterdata to get the latest terminal info. Notice that the Switch to SCO button is still visible. This is wrong because the terminal type no longer has access to SCO.
No tags attached.
Issue History
2024-07-31 14:50AugustoMauchNew Issue
2024-07-31 14:50AugustoMauchAssigned To => Retail
2024-07-31 14:50AugustoMauchTriggers an Emergency Pack => No
2024-07-31 14:50AugustoMauchAssigned ToRetail => AugustoMauch
2024-07-31 14:50AugustoMauchStatusnew => scheduled
2024-07-31 14:51hgbotNote Added: 0167545
2024-08-06 11:43hgbotResolutionopen => fixed
2024-08-06 11:43hgbotStatusscheduled => closed
2024-08-06 11:43hgbotFixed in Version => 24Q4
2024-08-06 11:43hgbotNote Added: 0167739
2024-08-06 11:43hgbotNote Added: 0167740

Notes
(0167545)
hgbot   
2024-07-31 14:51   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2829 [^]
(0167739)
hgbot   
2024-08-06 11:43   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 35e4f69dafda97bfb2b90b61fe695f778b22c47e
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 06-08-2024 09:43:21
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/35e4f69dafda97bfb2b90b61fe695f778b22c47e [^]

Fixes ISSUE-56140: Application Mode access takes into account isActive flag

---
M src/org/openbravo/pos2/term/ApplicationModeTerminalType.java
---
(0167740)
hgbot   
2024-08-06 11:43   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2829 [^]