Openbravo Issue Tracking System - Openbravo ERP |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0014012 | Openbravo ERP | A. Platform | public | 2010-07-20 18:40 | 2010-08-16 17:48 |
|
| Reporter | shuehner | |
| Assigned To | iperdomo | |
| Priority | urgent | Severity | major | Reproducibility | have not tried |
| Status | closed | Resolution | no change required | |
| Platform | | OS | 5 | OS Version | |
| Product Version | | |
| Target Version | | Fixed in Version | | |
| Merge Request Status | |
| Review Assigned To | |
| OBNetwork customer | No |
| Web browser | |
| Modules | Core |
| Support ticket | |
| Regression level | |
| Regression date | |
| Regression introduced in release | |
| Regression introduced by commit | |
| Triggers an Emergency Pack | No |
|
| Summary | 0014012: Race-condition when doing Login having an AuthenticationManager (and using DeepLinking) |
| Description | When using an authentication manager the SessionLogin.save call (which inserts the row into ad_session) is done late in the sevice method of the HttpSecureAppServlet class without doing an immediate commit.
So only the implicit commit at end of the HTTP-request finally makes the row visible to other connections.
However in the service methods another xsql method checks this db-row already.
When doing a login (i.e. with DeepLinking) several requests are in flight at the same time -> Race-Condition if another requests checks the row via the xsql-method before the dal-using request finishes (and did its commit)
-> xsql-method doing force-logout
|
| Steps To Reproduce | see also support ticket 8143 |
| Proposed Solution | do a commit after inserting the new row |
| Additional Information | |
| Tags | No tags attached. |
| Relationships | |
| Attached Files | |
|
| Issue History |
| Date Modified | Username | Field | Change |
| 2010-07-20 18:40 | shuehner | New Issue | |
| 2010-07-20 18:40 | shuehner | Assigned To | => shuehner |
| 2010-07-20 18:40 | shuehner | OBNetwork customer | => No |
| 2010-07-20 18:41 | shuehner | Note Added: 0029421 | |
| 2010-07-21 11:28 | hgbot | Checkin | |
| 2010-07-21 11:28 | hgbot | Note Added: 0029428 | |
| 2010-07-21 11:28 | hgbot | Status | new => resolved |
| 2010-07-21 11:28 | hgbot | Resolution | open => fixed |
| 2010-07-21 11:28 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/94fcf9a433af8b7dedd82a034a5c75c831603407 [^] |
| 2010-07-24 22:54 | hudsonbot | Checkin | |
| 2010-07-24 22:54 | hudsonbot | Note Added: 0029544 | |
| 2010-08-10 16:04 | alostale | Status | resolved => closed |
| 2010-08-10 16:04 | alostale | Fixed in Version | => 2.50MP21 |
| 2010-08-11 00:00 | anonymous | sf_bug_id | 0 => 3042775 |
| 2010-08-16 17:47 | iperdomo | Assigned To | shuehner => iperdomo |
| 2010-08-16 17:47 | iperdomo | Status | closed => new |
| 2010-08-16 17:47 | iperdomo | Resolution | fixed => open |
| 2010-08-16 17:47 | iperdomo | Fixed in Version | 2.50MP21 => |
| 2010-08-16 17:47 | iperdomo | Status | new => scheduled |
| 2010-08-16 17:47 | iperdomo | fix_in_branch | => pi |
| 2010-08-16 17:48 | iperdomo | Status | scheduled => closed |
| 2010-08-16 17:48 | iperdomo | Resolution | open => no change required |