Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0030413 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [Openbravo ERP] 09. Financial management | major | always | 2015-07-23 17:00 | 2015-08-20 23:16 | |||
| 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 | 1fa4c3218118 | ||||
| Projection | none | ETA | none | Target Version | ||||
| 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 | 0030413: 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 | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
|||||||||||||||
|
|||||||||||||||
Notes |
|
|
(0079045) hgbot (developer) 2015-07-23 17:05 |
Repository: erp/devel/pi Changeset: 1fa4c3218118fff2dfaf7c0958da14ffb934c1b7 Author: David Miguelez <david.miguelez <at> openbravo.com> Date: Thu Jul 23 17:05:01 2015 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/1fa4c3218118fff2dfaf7c0958da14ffb934c1b7 [^] Fixes Issue 30413. 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 --- |
|
(0079060) dmiguelez (viewer) 2015-07-23 19:01 |
Code Reviewed + Tested in several Clients |
|
(0079506) hudsonbot (viewer) 2015-08-20 23:16 |
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/8c91718397a5 [^] Maturity status: Test |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2015-07-23 17:00 | dmiguelez | New Issue | |
| 2015-07-23 17:00 | dmiguelez | Assigned To | => Triage Finance |
| 2015-07-23 17:00 | dmiguelez | OBNetwork customer | => No |
| 2015-07-23 17:00 | dmiguelez | Modules | => Core |
| 2015-07-23 17:00 | dmiguelez | Triggers an Emergency Pack | => No |
| 2015-07-23 17:02 | dmiguelez | Status | new => scheduled |
| 2015-07-23 17:05 | hgbot | Checkin | |
| 2015-07-23 17:05 | hgbot | Note Added: 0079045 | |
| 2015-07-23 17:05 | hgbot | Status | scheduled => resolved |
| 2015-07-23 17:05 | hgbot | Resolution | open => fixed |
| 2015-07-23 17:05 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/1fa4c3218118fff2dfaf7c0958da14ffb934c1b7 [^] |
| 2015-07-23 19:01 | dmiguelez | Review Assigned To | => dmiguelez |
| 2015-07-23 19:01 | dmiguelez | Note Added: 0079060 | |
| 2015-07-23 19:01 | dmiguelez | Status | resolved => closed |
| 2015-08-20 23:16 | hudsonbot | Checkin | |
| 2015-08-20 23:16 | hudsonbot | Note Added: 0079506 | |
| Copyright © 2000 - 2009 MantisBT Group |