Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0008853 | Openbravo ERP | A. Platform | public | 2009-04-30 08:04 | 2009-05-10 00:00 |
|
Reporter | mtaal | |
Assigned To | mtaal | |
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | pi | |
Target Version | pi | Fixed in Version | 2.50MP1 | |
Merge Request Status | |
Review Assigned To | |
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 | 0008853: OBContext.setInAdministratorMode is not threadsafe |
Description | With ajax calls (and even with standard http requests) it is possible that multiple requests of one user end up at the server in the same time in different threads. If that happens then when one thread sets OBContext.setInAdministratorMode then other threads are influenced by that. This because the OBContext instance is shared by threads of the same user/httpsession.
The solution is to use a ThreadLocal to store the administrator mode flag of the OBContext. This flag has to be cleaned at the end of the request (in the dal request filter). |
Steps To Reproduce | |
Proposed Solution | |
Additional Information | |
Tags | 250MP1 |
Relationships | blocks | defect | 0008449 | | closed | iperdomo | Autosave does not work when leaving the window via Alert,Role-change,Logout |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2009-04-30 08:04 | mtaal | New Issue | |
2009-04-30 08:04 | mtaal | Assigned To | => mtaal |
2009-04-30 08:04 | mtaal | Regression testing | => No |
2009-04-30 08:33 | iperdomo | Relationship added | blocks 0008449 |
2009-04-30 08:34 | iperdomo | Tag Attached: 250MP1 | |
2009-05-01 13:27 | hgbot | Checkin | |
2009-05-01 13:27 | hgbot | Note Added: 0015993 | |
2009-05-01 13:27 | hgbot | Status | new => resolved |
2009-05-01 13:27 | hgbot | Resolution | open => fixed |
2009-05-01 13:27 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/2cd6c5bbdee5e907088263d16ca8ca6e87c7a2b0 [^] |
2009-05-09 18:57 | psarobe | Status | resolved => closed |
2009-05-09 18:57 | psarobe | Note Added: 0016202 | |
2009-05-10 00:00 | anonymous | sf_bug_id | 0 => 2789549 |