Openbravo Issue Tracking System - POS2
View Issue Details
0048728POS2Corepublic2022-03-07 15:542022-03-22 10:16
AugustoMauch 
AugustoMauch 
normalmajorhave not tried
closedfixed 
5
 
 
No
0048728: Enable logging the timings of user and state actions
It is important to have visibility on how long it takes to execute user and state actions on terminals (both in production and when doing new developments). We could take advantage of the terminal info and store it there.

This information can be verbose so it would be useful to be able to enable/disable this log on command, i.e. using an application setting.

Also, this profiling is only required on some specific cases, so by default the setting should not be visible on POS terminals, only if the terminal was configured on the backoffice for that purpose
-
No tags attached.
Issue History
2022-03-07 15:54AugustoMauchNew Issue
2022-03-07 15:54AugustoMauchAssigned To => AugustoMauch
2022-03-07 15:54AugustoMauchTriggers an Emergency Pack => No
2022-03-08 12:12AugustoMauchStatusnew => scheduled
2022-03-08 12:27AugustoMauchDescription Updatedbug_revision_view_page.php?rev_id=23735#r23735
2022-03-08 23:29hgbotNote Added: 0135564
2022-03-08 23:37hgbotNote Added: 0135565
2022-03-08 23:44hgbotNote Added: 0135566
2022-03-17 18:20hgbotResolutionopen => fixed
2022-03-17 18:20hgbotStatusscheduled => closed
2022-03-17 18:20hgbotNote Added: 0135814
2022-03-17 18:20hgbotFixed in Version => RR22Q2
2022-03-17 18:20hgbotNote Added: 0135815
2022-03-17 18:20hgbotNote Added: 0135816
2022-03-17 18:20hgbotNote Added: 0135817
2022-03-17 18:20hgbotNote Added: 0135818
2022-03-17 18:20hgbotNote Added: 0135819
2022-03-17 22:58hgbotNote Added: 0135825
2022-03-17 22:59hgbotNote Added: 0135826
2022-03-17 23:37hgbotNote Added: 0135827
2022-03-18 22:38AugustoMauchIssue cloned0048843
2022-03-21 15:33hgbotNote Added: 0135886
2022-03-22 10:16hgbotNote Added: 0135915

Notes
(0135564)
hgbot   
2022-03-08 23:29   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/344 [^]
(0135565)
hgbot   
2022-03-08 23:37   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/715 [^]
(0135566)
hgbot   
2022-03-08 23:44   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/860 [^]
(0135814)
hgbot   
2022-03-17 18:20   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/344 [^]
(0135815)
hgbot   
2022-03-17 18:20   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 07a0d0ab15221ea7087fdfaa1b249b9c43d6c642
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 17-03-2022 18:19:34
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/07a0d0ab15221ea7087fdfaa1b249b9c43d6c642 [^]

Fixes ISSUE-48728: Merge branch 'fr/48728'

---
A web/org.openbravo.mobile.core/app/util/ActionTiming.js
M src-db/database/sourcedata/AD_REF_LIST.xml
M src/org/openbravo/mobile/core/MobileCoreComponentProvider.java
M web-test/model/application-state/State.test.js
M web-test/model/application-state/StatePersistence.functional.test.js
M web-test/model/application-state/StateUndo.functional.test.js
M web-test/model/application-state/compat/backward-compat-integration-base.js
M web/org.openbravo.mobile.core/app/model/application-state/State.js
M web/org.openbravo.mobile.core/app/model/application-state/StatePersistence.js
---
(0135816)
hgbot   
2022-03-17 18:20   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: c085a1b249dcd38659f67fe409e85f317c7837c4
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 17-03-2022 18:20:03
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/c085a1b249dcd38659f67fe409e85f317c7837c4 [^]

Fixes ISSUE-48728: Merge branch 'fr/48728-action-timings'

---
A web-jspack/org.openbravo.core2/src/components/ActionTimingEnabledSetting/ActionTimingEnabledSetting.config.json
A web-jspack/org.openbravo.core2/src/model/setting/actions/EnableActionTiming.js
A web-jspack/org.openbravo.core2/src/model/setting/user-actions/EnableActionTiming.js
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/OBC2_USER_ACTION.xml
M web-jspack/org.openbravo.core2/src/core/user-action/UserAction.js
M web-jspack/org.openbravo.core2/src/core/user-action/__test__/UserAction.test.js
M web-jspack/org.openbravo.core2/src/model/setting/Setting.js
M web-jspack/org.openbravo.core2/src/ob-init.js
---
(0135817)
hgbot   
2022-03-17 18:20   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/715 [^]
(0135818)
hgbot   
2022-03-17 18:20   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 396a99e9c6460a1bbcd6cade6fc87472b2c9de75
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 17-03-2022 18:20:32
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/396a99e9c6460a1bbcd6cade6fc87472b2c9de75 [^]

Fixes ISSUE-48728: Merge branch 'fr/48728-action-timings'

---
M src-db/database/model/modifiedTables/OBPOS_APPLICATIONS.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
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/components/Payments/PaymentPanelButtons/GeneratePopButton/__test__/GeneratePopButton.test.jsx
---
(0135819)
hgbot   
2022-03-17 18:20   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/860 [^]
(0135825)
hgbot   
2022-03-17 22:58   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: ff147a939435aaeacc3a1823d4c53628363993d2
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 17-03-2022 22:58:26
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/ff147a939435aaeacc3a1823d4c53628363993d2 [^]

Related to ISSUE-48728: Adds missing isDisabled property to enableActionTiming

---
M web-jspack/org.openbravo.core2/src/model/setting/actions/EnableActionTiming.js
---
(0135826)
hgbot   
2022-03-17 22:59   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: f0444a0a267187f7e79cc33d8c1854ca992068eb
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 17-03-2022 22:59:19
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/f0444a0a267187f7e79cc33d8c1854ca992068eb [^]

Related to ISSUE-48728: Initialize action timing setting after loading terminal info

---
M web-jspack/org.openbravo.pos2/src/authentication/loginInitActions.js
M web-jspack/org.openbravo.pos2/src/ob-init.js
---
(0135827)
hgbot   
2022-03-17 23:37   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 7beb6452f4598c6b0c1030f339f81e552a59f331
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 17-03-2022 23:37:50
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/7beb6452f4598c6b0c1030f339f81e552a59f331 [^]

Related to ISSUE-48728: Fixes dbconsistency error

---
M src-db/database/sourcedata/AD_FIELD.xml
---
(0135886)
hgbot   
2022-03-21 15:33   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 38271cca21c249ebfcf01bc4b275ec81e389fb41
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 21-03-2022 15:33:08
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/38271cca21c249ebfcf01bc4b275ec81e389fb41 [^]

Related to ISSUE-48728: Removes unneeded toFixed

---
M web/org.openbravo.mobile.core/app/model/application-state/StatePersistence.js
---
(0135915)
hgbot   
2022-03-22 10:16   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: dc009400188e3961252b4124259a4b98789e3af3
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 22-03-2022 10:15:44
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/dc009400188e3961252b4124259a4b98789e3af3 [^]

Related to ISSUE-48728: Improves jsdoc

---
M web/org.openbravo.mobile.core/app/model/application-state/StatePersistence.js
---