Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0024412 | Openbravo ERP | A. Platform | public | 2013-07-26 10:48 | 2013-07-29 16:34 |
|
Reporter | alostale | |
Assigned To | alostale | |
Priority | immediate | Severity | critical | Reproducibility | random |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0MP26 | |
Merge Request Status | |
Review Assigned To | shankarb |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | Pre packaging ( pi ) |
Regression date | 2013-07-12 |
Regression introduced in release | |
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/b0cfc1e495435ccb1bd58f8e55bebb30bd83c634 [^] |
Triggers an Emergency Pack | No |
|
Summary | 0024412: Random failures in FIC |
Description | After applying fix for issue 0024326, FIC randomly fails.
This can be noticed in several ways:
-ERROR org.hibernate.LazyInitializationException - could not initialize proxy - no Session can be seen in the log
-when this happens, default values are not correctly populated
The problem is caused by an incomplete DAL object initialization in ApplicationDictionaryCachedStructures.getTab method, which caches and returns the tab attached to the session created for the Tab that invoked it. Previous to fix for 0024326, initialization was completed by the getParentTab method, afterwards it is not in case of root tab.
The way it can happen is:
-Request 1 (thread-1) gets a root tab. This tab, attached to thread-1's DAL session, is cached in ApplicationDictionaryCachedStructures without its proxies being initialized so thread-1's session is killed.
-Request 2 (thread-2) gets same tab from ApplicationDictionaryCachedStructures and tries to initialize any of its proxies, as the tab is still attached to thread-1's session the error is raisen
|
Steps To Reproduce | Open BP window and select a record, this happens randomly |
Proposed Solution | Temporary backout patch for issue 0024326 |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0024326 | | closed | alostale | Suboptimal parent tab getter for root tabs | related to | defect | 0024421 | 3.0MP28 | closed | alostale | ApplicationDictionaryCachedStructures is not thread safe |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2013-07-26 10:48 | alostale | New Issue | |
2013-07-26 10:48 | alostale | Assigned To | => alostale |
2013-07-26 10:48 | alostale | Modules | => Core |
2013-07-26 10:48 | alostale | Triggers an Emergency Pack | => No |
2013-07-26 10:48 | alostale | Relationship added | related to 0024326 |
2013-07-26 10:49 | alostale | Regression level | => Pre packaging ( pi ) |
2013-07-26 10:49 | alostale | Regression date | => 2013-07-12 |
2013-07-26 10:49 | alostale | Regression introduced by commit | => https://code.openbravo.com/erp/devel/pi/rev/b0cfc1e495435ccb1bd58f8e55bebb30bd83c634 [^] |
2013-07-26 10:49 | alostale | Review Assigned To | => shankarb |
2013-07-26 10:59 | alostale | Description Updated | bug_revision_view_page.php?rev_id=4917#r4917 |
2013-07-26 11:08 | hgbot | Checkin | |
2013-07-26 11:08 | hgbot | Note Added: 0060302 | |
2013-07-26 11:08 | hgbot | Status | new => resolved |
2013-07-26 11:08 | hgbot | Resolution | open => fixed |
2013-07-26 11:08 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/338d1021bc54b3e3658c8c3c7eae605600d7bf81 [^] |
2013-07-26 20:32 | hudsonbot | Checkin | |
2013-07-26 20:32 | hudsonbot | Note Added: 0060317 | |
2013-07-29 12:28 | alostale | Relationship added | related to 0024421 |
2013-07-29 13:10 | egoitz | Issue Monitored: egoitz | |
2013-07-29 16:34 | shankarb | Note Added: 0060352 | |
2013-07-29 16:34 | shankarb | Status | resolved => closed |
2013-07-29 16:34 | shankarb | Fixed in Version | => 3.0MP26 |