Openbravo Issue Tracking System - Openbravo ERP |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0032858 | Openbravo ERP | A. Platform | public | 2016-05-04 14:06 | 2016-06-17 19:37 |
|
| Reporter | gorkaion | |
| Assigned To | gorkaion | |
| Priority | normal | Severity | major | Reproducibility | sometimes |
| Status | closed | Resolution | fixed | |
| Platform | | OS | 20 | OS Version | Gentoo |
| Product Version | | |
| Target Version | | Fixed in Version | 3.0PR16Q3 | |
| Merge Request Status | |
| Review Assigned To | alostale |
| 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 | 0032858: in some scenarios if a entity is updated after a commit and close a LazyInitialization is get on OBInterceptor |
| Description | OBInterceptor is loading the organization structure by doing "org.getClient().getId()" if the client was cleared from the session without touching the getId() method a LazyInitialization exception is thrown.
|
| Steps To Reproduce | reproduced in a custom module process.
- create a new entity in * organization.
- do a commitAndClose
- load an existing entity and update some fields.
- do a flush. -> OBInterceptor is executed to check organizations and the mentioned exception is thrown. |
| Proposed Solution | Use DalUtil.getId() to get the client id. |
| Additional Information | |
| Tags | No tags attached. |
| Relationships | |
| Attached Files | |
|
| Issue History |
| Date Modified | Username | Field | Change |
| 2016-05-04 14:06 | gorkaion | New Issue | |
| 2016-05-04 14:06 | gorkaion | Assigned To | => gorkaion |
| 2016-05-04 14:06 | gorkaion | OBNetwork customer | => No |
| 2016-05-04 14:06 | gorkaion | Modules | => Core |
| 2016-05-04 14:06 | gorkaion | Triggers an Emergency Pack | => No |
| 2016-05-04 16:42 | hgbot | Checkin | |
| 2016-05-04 16:42 | hgbot | Note Added: 0086184 | |
| 2016-05-04 16:42 | hgbot | Status | new => resolved |
| 2016-05-04 16:42 | hgbot | Resolution | open => fixed |
| 2016-05-04 16:42 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/a6cbad47ab80b521388ac1d3a211fe5213fe72bd [^] |
| 2016-05-04 16:43 | gorkaion | Review Assigned To | => alostale |
| 2016-05-06 09:17 | alostale | Note Added: 0086236 | |
| 2016-05-06 09:17 | alostale | Status | resolved => closed |
| 2016-05-06 09:17 | alostale | Fixed in Version | => 3.0PR16Q3 |
| 2016-06-17 19:37 | hudsonbot | Checkin | |
| 2016-06-17 19:37 | hudsonbot | Note Added: 0087515 | |