Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0055151Openbravo ERP01. General setuppublic2024-04-09 09:362024-04-17 11:14
Leyre 
Triage Platform Base 
highmajoralways
closedfixed 
5
 
PR24Q1.2PR24Q1.2 
Core
Production - Confirmed Stable
2023-09-17
PR23Q4
https://gitlab.com/openbravo/product/openbravo/-/commit/fcd246dff378226fbc702ed953da646619b6c35f [^]
No
0055151: It is possible to active more terminals that are allowed in the instance.
It is possible to active more terminals that are allowed in the instance.
As system administator:
1. Open the "Instance Activation" window and confirm the maximum number of allowed active POS terminals in the instance. In my case, for example, 3.
2. Confirm that there are less active terminals than the maximum allowed. In my case 1.

Change the role:
3. Open the "Channel - Touchpoint" window.
2. Select more terminals than the allowed in the instance and click on the button "Activate or deactivate the current(selected) record(s)". See attached image.

Result: It is possible to active more terminals than allowed. Additionally, if you change to "System Administrator" role and navigate to the "Instance Activation" window, even if you click the refresh button, the data is not refershed.
No tags attached.
blocks defect 0055134 closed meriem_azaf It is possible to active more terminals that are allowed in the instance. 
Issue History
2024-04-10 08:23AugustoMauchTypedefect => backport
2024-04-10 08:23AugustoMauchTarget Version => PR24Q1.2
2024-04-16 09:44hgbotNote Added: 0163253
2024-04-17 11:14hgbotResolutionopen => fixed
2024-04-17 11:14hgbotStatusscheduled => closed
2024-04-17 11:14hgbotFixed in Version => PR24Q1.2
2024-04-17 11:14hgbotNote Added: 0163319
2024-04-17 11:14hgbotNote Added: 0163320
2024-04-17 11:14hgbotNote Added: 0163321

Notes
(0163253)
hgbot   
2024-04-16 09:44   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1202 [^]
(0163319)
hgbot   
2024-04-17 11:14   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: a3a51f4f18f20a3c369d59419d7d32b16b8c4304
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 16-04-2024 09:56:19
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/a3a51f4f18f20a3c369d59419d7d32b16b8c4304 [^]

Fixed ISSUE-55151: Refactored to OBQuery to invoke event handlers

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/EnableOrDisableMultipleRecords.java
---
(0163320)
hgbot   
2024-04-17 11:14   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1202 [^]
(0163321)
hgbot   
2024-04-17 11:14   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 2065202a57920a34b9b7de585c5a39d135c01a4a
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 16-04-2024 09:58:34
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/2065202a57920a34b9b7de585c5a39d135c01a4a [^]

Fixes ISSUE-55151: Event handlers get accurate info on the number of active records

The problem was that when enabling/disabling recordsa using the EnableOrDisableMultipleRecords process, the
event handlers were not receiving accurate info on the number of currently active records if data was flushed
updated updating them all.

In order to prevent this problem, now data is flushed after updating each records. This results in a slower execution
of the process but it is still reasonable fast (changing the active flag of 100 records took <100ms)

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/EnableOrDisableMultipleRecords.java
---