Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0030414 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] 09. Financial management | major | always | 2015-07-23 17:00 | 2015-07-23 19:02 | |||
Reporter | dmiguelez | View Status | public | |||||
Assigned To | Triage Omni OMS | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 7ea341ccbf45 | ||||
Projection | none | ETA | none | Target Version | 3.0PR15Q3 | |||
OS | Linux 32 bit | Database | PostgreSQL | Java version | 1.6.0_18 | |||
OS Version | Community Appliance | Database version | 8.3.9 | Ant version | 1.7.1 | |||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | dmiguelez | |||||||
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 | 0030414: While calculating Cost Adjustments the Process fails throwing a LazyInitializationException in Hibernate | |||||||
Description | While calculating Cost Adjustments the Process fails throwing a LazyInitializationException in Hibernate | |||||||
Steps To Reproduce | This issue happened in a Client and we were not able to reproduce it locally. But, there was a LazyInitializationException in Hibernate in the CostingServer.java file, in the process() method while trying to read a list that was related to the Transaction object. It is necessary to refresh this Object before accessing the list. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0079046) hgbot (developer) 2015-07-23 17:08 |
Repository: erp/backports/3.0PR15Q3 Changeset: 7ea341ccbf45f7e30a9b64f3448c2bae07079afa Author: David Miguelez <david.miguelez <at> openbravo.com> Date: Thu Jul 23 17:05:01 2015 +0200 URL: http://code.openbravo.com/erp/backports/3.0PR15Q3/rev/7ea341ccbf45f7e30a9b64f3448c2bae07079afa [^] Fixes Issue 30414. Refreshes Transaction Object before accessing to it again to fix a LazyInitializationException Hibernate exception. Also removes unnecessary save, since flush is done afterwards. --- M src/org/openbravo/costing/CostingServer.java --- |
(0079062) dmiguelez (viewer) 2015-07-23 19:02 |
Code Reviewed + Tested in several Clients |
![]() |
|||
Date Modified | Username | Field | Change |
2015-07-23 17:02 | dmiguelez | Type | defect => backport |
2015-07-23 17:02 | dmiguelez | Target Version | => 3.0PR15Q3 |
2015-07-23 17:08 | hgbot | Checkin | |
2015-07-23 17:08 | hgbot | Note Added: 0079046 | |
2015-07-23 17:08 | hgbot | Status | scheduled => resolved |
2015-07-23 17:08 | hgbot | Resolution | open => fixed |
2015-07-23 17:08 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR15Q3/rev/7ea341ccbf45f7e30a9b64f3448c2bae07079afa [^] |
2015-07-23 19:02 | dmiguelez | Review Assigned To | => dmiguelez |
2015-07-23 19:02 | dmiguelez | Note Added: 0079062 | |
2015-07-23 19:02 | dmiguelez | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |