Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0040016 | Openbravo ERP | A. Platform | public | 2019-01-23 12:36 | 2019-01-25 10:54 |
|
Reporter | caristu | |
Assigned To | caristu | |
Priority | high | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 3.0PR18Q4.2 | Fixed in Version | 3.0PR18Q4.2 | |
Merge Request Status | |
Review Assigned To | alostale |
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 | 0040016: Concurrency problems in MyOpenbravoActionHandler |
Description | The MyOpenbravoActionHandler execution can fail if it is accessed by several threads at the same time.
This is caused by [1]. As part of the changes done to decrease the time spent to load the widgets after login, the definition of the WidgetProviders is cached[2]. This kind of classes has a private field named widgetClass (a DAL object) which can cause exceptions when accessing to some of its properties in a concurrent way (See error.txt attached).
[1] https://code.openbravo.com/erp/devel/pi/rev/2a1a09ee6e6852cb977efa1a987e27d2811e9127 [^]
[2] https://code.openbravo.com/erp/devel/pi/rev/2a1a09ee6e6852cb977efa1a987e27d2811e9127#l1.178 [^] |
Steps To Reproduce | 1) Start Tomcat
2) Run the attached MyOpenbravoActionHandlerConcurrencyTest.test that performs several requests to MyOpenbravoActionHandler in parallel
3) The test fails because not all the requests are executed successfully |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | blocks | defect | 0040009 | | closed | caristu | Concurrency problems in MyOpenbravoActionHandler |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2019-01-23 17:33 | caristu | Type | defect => backport |
2019-01-23 17:33 | caristu | Target Version | => 3.0PR18Q4.2 |
2019-01-24 11:12 | hgbot | Checkin | |
2019-01-24 11:12 | hgbot | Note Added: 0109151 | |
2019-01-24 11:12 | hgbot | Status | scheduled => resolved |
2019-01-24 11:12 | hgbot | Resolution | open => fixed |
2019-01-24 11:12 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR18Q4.2/rev/4ab5cd94e65e62072a0ce56008e6b97dab26adb4 [^] |
2019-01-24 11:13 | caristu | Note Added: 0109152 | |
2019-01-24 11:13 | caristu | Note Edited: 0109151 | bug_revision_view_page.php?bugnote_id=0109151#r18181 |
2019-01-25 08:15 | caristu | Review Assigned To | => alostale |
2019-01-25 10:54 | alostale | Note Added: 0109248 | |
2019-01-25 10:54 | alostale | Status | resolved => closed |
2019-01-25 10:54 | alostale | Fixed in Version | => 3.0PR18Q4.2 |