Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0037437 | Openbravo ERP | A. Platform | public | 2017-12-06 10:54 | 2018-03-05 17:10 |
|
Reporter | alostale | |
Assigned To | alostale | |
Priority | high | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR18Q2 | |
Merge Request Status | |
Review Assigned To | AugustoMauch |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0037437: useless session cache of window.isSOTrx |
Description | Whenever a new session is created, it caches for every window defined in AD whether it is used in sales or purchases flows.
This, depending on how many windows are defined in the instance, adds an overhead of ~30KB per session. |
Steps To Reproduce | 1. Log in Openbravo
2. Obtain a memory dump
-> Check it and see there are entries like "ID|ISSOTRX" |
Proposed Solution | This information is immutable (if no modules in development) and is it already cached within ApplicationDictionaryCachedStructures which is application scoped, use this cache instead of per session. |
Additional Information | |
Tags | Performance |
Relationships | depends on | feature request | 0034975 | 3.0PR17Q2 | closed | alostale | change scope of ADCS to ApplicationScoped | related to | feature request | 0037980 | | closed | alostale | Improve organization cache in session | related to | defect | 0038061 | 3.0PR18Q2 | closed | alostale | Selector filter expression with OB.isSalesTransaction() doesn't work when called from a Process Definition | causes | defect | 0037544 | | closed | AugustoMauch | Storage bin selectors in goods movement line don't work |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2017-12-06 10:54 | alostale | New Issue | |
2017-12-06 10:54 | alostale | Assigned To | => platform |
2017-12-06 10:54 | alostale | Modules | => Core |
2017-12-06 10:54 | alostale | Triggers an Emergency Pack | => No |
2017-12-06 10:55 | alostale | Tag Attached: Performance | |
2017-12-06 10:57 | alostale | Relationship added | depends on 0034975 |
2017-12-11 13:58 | alostale | Assigned To | platform => alostale |
2017-12-11 15:04 | hgbot | Checkin | |
2017-12-11 15:04 | hgbot | Note Added: 0100965 | |
2017-12-11 15:04 | hgbot | Checkin | |
2017-12-11 15:04 | hgbot | Note Added: 0100966 | |
2017-12-11 15:04 | hgbot | Status | new => resolved |
2017-12-11 15:04 | hgbot | Resolution | open => fixed |
2017-12-11 15:04 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/5e390e7d791d8dc3469c7848950a10cbd368274a [^] |
2017-12-11 15:08 | alostale | Review Assigned To | => caristu |
2017-12-15 09:25 | caristu | Note Added: 0101052 | |
2017-12-15 09:25 | caristu | Status | resolved => closed |
2017-12-15 09:25 | caristu | Fixed in Version | => 3.0PR18Q1 |
2017-12-22 14:22 | AugustoMauch | Relationship added | causes 0037544 |
2017-12-22 14:48 | hgbot | Checkin | |
2017-12-22 14:48 | hgbot | Note Added: 0101243 | |
2017-12-22 14:51 | AugustoMauch | Note Deleted: 0101243 | |
2017-12-22 14:55 | AugustoMauch | Issue cloned | 0037545 |
2017-12-22 14:56 | AugustoMauch | Relationship added | related to 0037545 |
2018-01-03 12:39 | hudsonbot | Checkin | |
2018-01-03 12:39 | hudsonbot | Note Added: 0101514 | |
2018-01-03 12:39 | hudsonbot | Checkin | |
2018-01-03 12:39 | hudsonbot | Note Added: 0101515 | |
2018-01-03 12:39 | hudsonbot | Checkin | |
2018-01-03 12:39 | hudsonbot | Note Added: 0101536 | |
2018-02-01 09:00 | alostale | Note Added: 0102099 | |
2018-02-01 09:00 | alostale | Status | closed => new |
2018-02-01 09:00 | alostale | Resolution | fixed => open |
2018-02-01 09:00 | alostale | Fixed in Version | 3.0PR18Q1 => |
2018-02-05 14:50 | hgbot | Checkin | |
2018-02-05 14:50 | hgbot | Note Added: 0102192 | |
2018-02-05 15:23 | alostale | Review Assigned To | caristu => AugustoMauch |
2018-02-05 15:28 | hgbot | Checkin | |
2018-02-05 15:28 | hgbot | Note Added: 0102194 | |
2018-02-05 15:28 | hgbot | Checkin | |
2018-02-05 15:28 | hgbot | Note Added: 0102195 | |
2018-02-05 15:28 | hgbot | Status | new => resolved |
2018-02-05 15:28 | hgbot | Resolution | open => fixed |
2018-02-05 15:28 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/5e390e7d791d8dc3469c7848950a10cbd368274a [^] => http://code.openbravo.com/erp/devel/pi/rev/2cce4b505c1633cdeb37f999ee9260f6a7dbfd1b [^] |
2018-02-20 17:13 | alostale | Relationship added | related to 0037980 |
2018-02-22 18:18 | hudsonbot | Checkin | |
2018-02-22 18:18 | hudsonbot | Note Added: 0102719 | |
2018-02-22 18:19 | hudsonbot | Checkin | |
2018-02-22 18:19 | hudsonbot | Note Added: 0102721 | |
2018-02-22 18:19 | hudsonbot | Checkin | |
2018-02-22 18:19 | hudsonbot | Note Added: 0102722 | |
2018-03-05 17:10 | AugustoMauch | Note Added: 0102993 | |
2018-03-05 17:10 | AugustoMauch | Status | resolved => closed |
2018-03-05 17:10 | AugustoMauch | Fixed in Version | => 3.0PR18Q2 |
2018-03-07 12:35 | alostale | Relationship added | related to 0038061 |
Notes |
|
(0100965)
|
hgbot
|
2017-12-11 15:04
|
|
Repository: erp/devel/pi
Changeset: bc2ae3376c86597a1c5d96eb4f4e7d89f4654726
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Dec 06 11:14:46 2017 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/bc2ae3376c86597a1c5d96eb4f4e7d89f4654726 [^]
related to bug 37437: useless session cache of window.isSOTrx
Some code minor clean up:
- Removed some duplicity
- Fixed format in some comments
- ...
---
M src/org/openbravo/erpCommon/utility/Utility.java
---
|
|
|
(0100966)
|
hgbot
|
2017-12-11 15:04
|
|
Repository: erp/devel/pi
Changeset: 5e390e7d791d8dc3469c7848950a10cbd368274a
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Dec 06 11:49:01 2017 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/5e390e7d791d8dc3469c7848950a10cbd368274a [^]
fixed bug 37437: useless session cache of window.isSOTrx
Now isSOTrx propery is not cached in session for each window in the system,
instead its value is obtained from application scoped ADCS when required.
---
M src/org/openbravo/base/secureApp/Attribute_data.xsql
M src/org/openbravo/base/secureApp/LoginUtils.java
M src/org/openbravo/erpCommon/utility/Utility.java
---
|
|
|
|
Code reviewed + tested OK. |
|
|
|
|
|
|
|
|
|
|
|
|
reopened issue as it was backed out after causing regression 0037544 |
|
|
(0102192)
|
hgbot
|
2018-02-05 14:50
|
|
Repository: erp/devel/pi
Changeset: afdc2c3ecac27e05d124c4f54fd7be59e4500b32
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Mon Feb 05 14:50:16 2018 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/afdc2c3ecac27e05d124c4f54fd7be59e4500b32 [^]
related to bug 37437 related to bug 37544: added test case
covering regression 0037544
---
M src-test/src/org/openbravo/test/AllWebserviceTests.java
A src-test/src/org/openbravo/test/datasource/OtherDatasourceRequests.java
---
|
|
|
(0102194)
|
hgbot
|
2018-02-05 15:28
|
|
Repository: erp/devel/pi
Changeset: 7c5fbca07334acc94280ab8aca8fc190ca30f769
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Feb 01 09:13:43 2018 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/7c5fbca07334acc94280ab8aca8fc190ca30f769 [^]
related to bug 37437: useless session cache of window.isSOTrx
Reapplied backed out changeset.
Some code minor clean up:
- Removed some duplicity
- Fixed format in some comments
- ...
---
M src/org/openbravo/erpCommon/utility/Utility.java
---
|
|
|
(0102195)
|
hgbot
|
2018-02-05 15:28
|
|
Repository: erp/devel/pi
Changeset: 2cce4b505c1633cdeb37f999ee9260f6a7dbfd1b
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Mon Feb 05 15:27:37 2018 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/2cce4b505c1633cdeb37f999ee9260f6a7dbfd1b [^]
fixed bug 37437: useless session cache of window.isSOTrx
Now isSOTrx propery is not cached in session for each window in the system,
instead its value is obtained from application scoped ADCS when required:
- In Utility.getConext
- In OBBindings
---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/OBBindings.java
M src/org/openbravo/base/secureApp/Attribute_data.xsql
M src/org/openbravo/base/secureApp/LoginUtils.java
M src/org/openbravo/erpCommon/utility/Utility.java
---
|
|
|
|
|
|
|
|
|
|
|
|
|
Code reviewed and verified |
|