Openbravo Issue Tracking System - POS2
View Issue Details
0050294POS2POSpublic2022-09-20 11:132022-09-25 22:42
cberner 
cberner 
normalmajorhave not tried
closedfixed 
5
 
22Q3.122Q3.1 
No
0050294: Terminal detects terminal data changes on forcePagerStatus and pagerConsolidation properties
Terminal properties forcePagerStatus and pagerConsolidation generate changes because are only updated on login. They should also be updated when terminal data changes by masterdata refresh.
1. Login POS2
2. Click on the top right icon of the pager server, and then on Force Pager
3. Click on refresh masterdata, check that it refreshes the application because it detects a change in terminal data property forcePagerStatus
No tags attached.
blocks defect 0050290 closed cberner Terminal detects terminal data changes on forcePagerStatus and pagerConsolidation properties 
Issue History
2022-09-20 16:32cbernerTypedefect => backport
2022-09-20 16:32cbernerTarget Version => 22Q3.1
2022-09-21 12:24hgbotNote Added: 0141284
2022-09-25 22:42hgbotResolutionopen => fixed
2022-09-25 22:42hgbotStatusscheduled => closed
2022-09-25 22:42hgbotFixed in Version => 22Q3.1
2022-09-25 22:42hgbotNote Added: 0141352
2022-09-25 22:42hgbotNote Added: 0141353

Notes
(0141284)
hgbot   
2022-09-21 12:24   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1224 [^]
(0141352)
hgbot   
2022-09-25 22:42   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 923a82919a02abb4c55665db03fe9ebdd458ed6b
Author: Cristian Berner <cristian.berner@openbravo.com>
Date: 25-09-2022 13:31:59
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/923a82919a02abb4c55665db03fe9ebdd458ed6b [^]

Fixes ISSUE-50294: Terminal data changes detected on forcePagerStatus and pagerConsolidation properties

This properties are no longer required to be fetched as part of
TerminalData, as we are doing that in a separate request just for Pager,
and we reuse it for this case also, as it was already being done before.

This fixes the problem of changes detected when changing any option in
frontend regarding pager, it is now transparent to the user and doesn't
produce terminal data changes.

---
M src/org/openbravo/pos2/term/OBPOS2TerminalProperties.java
M web-jspack/org.openbravo.pos2/src/authentication/loginInitActions.js
M web-jspack/org.openbravo.pos2/src/core/pickupPoint/deliveryControl/pager/RegisterPagerStatusCheck.js
M web-jspack/org.openbravo.pos2/src/core/pickupPoint/deliveryControl/pager/UpdatePagerStatusInClient.js
M web-jspack/org.openbravo.pos2/src/core/pickupPoint/deliveryControl/pager/UpdatePagerStatusInServer.js
M web-jspack/org.openbravo.pos2/src/core/pickupPoint/deliveryControl/pager/__test__/UpdatePagerStatusInClient.test.js
M web-jspack/org.openbravo.pos2/src/model/setting/user-actions/__test__/ForcePagerStatus.test.js
M web-jspack/org.openbravo.pos2/src/ob-init.js
---
(0141353)
hgbot   
2022-09-25 22:42   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1224 [^]