Openbravo Issue Tracking System - POS2
View Issue Details
0050290POS2POSpublic2022-09-20 11:132022-09-21 12:21
cberner 
cberner 
normalmajorhave not tried
closedfixed 
5
 
22Q4 
No
0050290: 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.
depends on backport 005029422Q3.1 closed cberner Terminal detects terminal data changes on forcePagerStatus and pagerConsolidation properties 
Issue History
2022-09-20 11:13cbernerNew Issue
2022-09-20 11:13cbernerAssigned To => cberner
2022-09-20 11:13cbernerTriggers an Emergency Pack => No
2022-09-20 11:15hgbotNote Added: 0141256
2022-09-20 16:10AugustoMauchStatusnew => scheduled
2022-09-20 16:32cbernerStatusscheduled => acknowledged
2022-09-20 16:32cbernerStatusacknowledged => scheduled
2022-09-21 12:21hgbotResolutionopen => fixed
2022-09-21 12:21hgbotStatusscheduled => closed
2022-09-21 12:21hgbotFixed in Version => 22Q4
2022-09-21 12:21hgbotNote Added: 0141282
2022-09-21 12:21hgbotNote Added: 0141283

Notes
(0141256)
hgbot   
2022-09-20 11:15   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1220 [^]
(0141282)
hgbot   
2022-09-21 12:21   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 0c06713593f7660be067439aeb316d6cb97b6a9c
Author: Cristian Berner <cristian.berner@openbravo.com>
Date: 21-09-2022 10:21:01
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/0c06713593f7660be067439aeb316d6cb97b6a9c [^]

Fixes ISSUE-50290: 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
---
(0141283)
hgbot   
2022-09-21 12:21   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1220 [^]