Openbravo Issue Tracking System - POS2
View Issue Details
0047776POS2POSpublic2021-09-29 08:522023-01-02 08:24
marvintm 
ebecerra 
normalminoralways
closedfixed 
5
 
 
No
0047776: Add option to perform initial incremental refresh in background instead of blocking login process
Currently the POS blocks the UI while incremental takes place, if it is triggered during login.

This is acceptable and desired even for some customers, because they would prefer to start the system with a fully updated state. However, for others, it might be more convenient to start the POS, and only block the UI afterwards if there is actually some database update required.

So, an option should be added to the application so that it can be configured to work in this way.
Configure incremental refresh interval so that it triggers every minute.
Log in the POS. Realise that the UI is blocked while incremental refresh is taking place. The idea is to add an option so that this doesn't happen, and instead incremental refresh is triggered in the background.
A preference should be added to configure this ("POS2 Perform initial incremental refresh in background"). This should apply only to pos2, it should ideally not affect old pos.
No tags attached.
Issue History
2021-09-29 08:52marvintmNew Issue
2021-09-29 08:52marvintmAssigned To => Retail
2021-09-29 08:52marvintmTriggers an Emergency Pack => No
2021-09-29 08:53marvintmStatusnew => scheduled
2021-09-29 08:53marvintmAssigned ToRetail => ebecerra
2021-09-29 08:54marvintmProposed Solution updated
2021-09-29 09:29marvintmProposed Solution updated
2021-09-30 09:47hgbotNote Added: 0132078
2021-09-30 09:50hgbotNote Added: 0132079
2021-10-22 13:02hgbotNote Added: 0132589
2021-10-25 10:32hgbotNote Added: 0132602
2021-10-25 10:34hgbotNote Added: 0132603
2021-10-27 18:27guilleaerNote Deleted: 0132079
2021-10-27 18:27guilleaerNote Deleted: 0132589
2021-10-29 11:52hgbotResolutionopen => fixed
2021-10-29 11:52hgbotStatusscheduled => closed
2021-10-29 11:52hgbotFixed in Version => RR22Q1
2021-10-29 11:52hgbotNote Added: 0132755
2021-10-29 11:52hgbotNote Added: 0132756
2021-10-29 12:54hgbotNote Added: 0132757
2021-11-02 09:26hgbotNote Added: 0132777
2021-11-02 10:51hgbotNote Added: 0132782
2021-11-02 10:51hgbotNote Added: 0132783
2021-11-02 10:51hgbotNote Added: 0132784
2023-01-02 08:24hgbotNote Added: 0145116

Notes
(0132078)
hgbot   
2021-09-30 09:47   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/582 [^]
(0132602)
hgbot   
2021-10-25 10:32   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/296 [^]
(0132603)
hgbot   
2021-10-25 10:34   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/654 [^]
(0132755)
hgbot   
2021-10-29 11:52   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 386c50f71c275865c8ae64f2dec9c94821dd1427
Author: Eduardo Becerra (OB) <eduardo.becerra@openbravo.com>
Date: 2021-10-29T09:52:38+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/386c50f71c275865c8ae64f2dec9c94821dd1427 [^]

Fixed ISSUE-47776: Add option to perform initial incremental refresh in background instead of blocking login process

---
M web/org.openbravo.mobile.core/app/model/masterdata/MasterdataController.js
---
(0132756)
hgbot   
2021-10-29 11:52   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/296 [^]
(0132757)
hgbot   
2021-10-29 12:54   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 8a7677e15831a12314659eb3058c214891a23658
Author: Eduardo Becerra (OB) <eduardo.becerra@openbravo.com>
Date: 2021-10-29T12:54:12+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/8a7677e15831a12314659eb3058c214891a23658 [^]

Related ISSUE-47776: Fixes for Jslint errors

---
M web/org.openbravo.mobile.core/app/model/masterdata/MasterdataController.js
---
(0132777)
hgbot   
2021-11-02 09:26   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 40883aa16e355ee2a76c936fc691a0ce1a9721e9
Author: Eduardo Becerra (OB) <eduardo.becerra@openbravo.com>
Date: 2021-11-02T09:26:00+01:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/40883aa16e355ee2a76c936fc691a0ce1a9721e9 [^]

Related ISSUE-47776: Refactor code to use renamed function "isNeededIncrementalRefresh -> isNeededIncrementalRefreshOnLogin"

---
M web-jspack/org.openbravo.core2/src/core/authentication/AppLoadingSteps.js
---
(0132782)
hgbot   
2021-11-02 10:51   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 708bc978cad97afd67bd1caf26072a9e9a7743ec
Author: Eduardo Becerra (OB) <eduardo.becerra@openbravo.com>
Date: 2021-11-02T10:25:49+01:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/708bc978cad97afd67bd1caf26072a9e9a7743ec [^]

Related ISSUE-47776: Load preference value: OBMOBC_BackgroundRefreshOnLogin

---
M web-jspack/org.openbravo.core2/src/core/masterdata/MasterdataRefresh.js
---
(0132783)
hgbot   
2021-11-02 10:51   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 35329675b0aaac2b2fa833520b868c1b5afdd2df
Author: Eduardo Becerra (OB) <eduardo.becerra@openbravo.com>
Date: 2021-11-02T10:25:49+01:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/35329675b0aaac2b2fa833520b868c1b5afdd2df [^]

Related ISSUE-47776: Add a reference value "OBC2_BackgroundRefreshOnLogin"

---
A src-db/database/sourcedata/AD_PREFERENCE.xml
M src-db/database/sourcedata/AD_REF_LIST.xml
M web-jspack/org.openbravo.core2/src/core/masterdata/MasterdataRefresh.js
---
(0132784)
hgbot   
2021-11-02 10:51   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/654 [^]
(0145116)
hgbot   
2023-01-02 08:24   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/582 [^]