Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0024412 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | critical | random | 2013-07-26 10:48 | 2013-07-29 16:34 | |||
Reporter | alostale | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | 3.0MP26 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 338d1021bc54 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | shankarb | |||||||
Web browser | ||||||||
Modules | Core | |||||||
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 | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||
|
Notes | |
(0060302) hgbot (developer) 2013-07-26 11:08 |
Repository: erp/devel/pi Changeset: 338d1021bc54b3e3658c8c3c7eae605600d7bf81 Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Fri Jul 26 11:07:34 2013 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/338d1021bc54b3e3658c8c3c7eae605600d7bf81 [^] fixed bug 24412, backouts fix for bug 24326 --- M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/KernelUtils.java --- |
(0060317) hudsonbot (developer) 2013-07-26 20:32 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/b9e43ea5aa1b [^] Maturity status: Test |
(0060352) shankarb (reporter) 2013-07-29 16:34 |
Code reviewed and tested in pi changeset 2128830a28ff. |
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 | View Revisions |
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 |
Copyright © 2000 - 2009 MantisBT Group |