Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0030414
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 09. Financial managementmajoralways2015-07-23 17:002015-07-23 19:02
ReporterdmiguelezView Statuspublic 
Assigned ToTriage Omni OMS 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision7ea341ccbf45
ProjectionnoneETAnoneTarget Version3.0PR15Q3
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionCommunity ApplianceDatabase version8.3.9Ant version1.7.1
Product VersionSCM revision 
Review Assigned Todmiguelez
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0030414: While calculating Cost Adjustments the Process fails throwing a LazyInitializationException in Hibernate

DescriptionWhile calculating Cost Adjustments the Process fails throwing a LazyInitializationException in Hibernate
Steps To ReproduceThis 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0030413 closedTriage Omni OMS While calculating Cost Adjustments the Process fails throwing a LazyInitializationException in Hibernate 

-  Notes
(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 (developer)
2015-07-23 19:02

Code Reviewed + Tested in several Clients

- Issue History
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
Powered by Mantis Bugtracker