Notes |
|
(0145183)
|
hgbot
|
2023-01-05 13:25
|
|
|
|
(0145184)
|
hgbot
|
2023-01-05 13:29
|
|
|
|
(0145221)
|
hgbot
|
2023-01-09 18:51
|
|
Directly closing issue as related merge request is already approved.
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 76fbb536794ca612a0a0b474b1414efe41484011
Author: Meriem Azaf <meriem.azaf@openbravo.com>
Date: 05-01-2023 15:42:18
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/76fbb536794ca612a0a0b474b1414efe41484011 [^]
Fixes ISSUE-51234: Cannot read properties of undefined (find) -> infinite loop and chrome crashes
Once an error is raised in the initialitation sequence the terminal becomes unusable and creates an infinite loop which finally consumes all the memory and makes chrome crash.
The problem was, on login, terminal info is loaded after completing the master data load so after the user is sent back to the login screen before terminal data is loaded so the terminal info is not loaded also.
To fix this, when there is a failure on an updateFunction after doing a master data refresh, we have to ensure next time user logs in the master data load is run again OB.UTIL.localStorage.removeItem('MasterdataLastTotalRefresh') and OB.UTIL.localStorage.removeItem('MasterdataLastIncrementalRefresh');
---
M web-jspack/org.openbravo.core2/src/core/ConfigurationSet.js
M web-jspack/org.openbravo.core2/src/core/Registry.js
---
|
|
|
(0145222)
|
hgbot
|
2023-01-09 18:51
|
|
|
|
(0145223)
|
hgbot
|
2023-01-09 18:52
|
|
Directly closing issue as related merge request is already approved.
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 3b9c182bfb1011dfaf14595130a34a13fd653d1e
Author: Meriem Azaf <meriem.azaf@openbravo.com>
Date: 09-01-2023 17:49:13
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/3b9c182bfb1011dfaf14595130a34a13fd653d1e [^]
Fixes ISSUE-51234: Cannot read properties of undefined (find) -> infinite loop and chrome crashes
Once an error is raised in the initialitation sequence the terminal becomes unusable and creates an infinite loop which finally consumes all the memory and makes chrome crash.
The problem was, on login, terminal info is loaded after completing the master data load so after the user is sent back to the login screen before terminal data is loaded so the terminal info is not loaded also.
To fix this, when there is a failure on an updateFunction after doing a master data refresh, we have to ensure next time user logs in the master data load is run again OB.UTIL.localStorage.removeItem('MasterdataLastTotalRefresh') and OB.UTIL.localStorage.removeItem('MasterdataLastIncrementalRefresh');
---
M web-jspack/org.openbravo.pos2/src/model/ticket/user-actions/ReturnBlindTicket.js
---
|
|
|
(0145224)
|
hgbot
|
2023-01-09 18:52
|
|
|