Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0040634 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] A. Platform | major | have not tried | 2019-04-17 12:04 | 2019-04-26 09:02 | |||
Reporter | caristu | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | high | Resolution | fixed | Fixed in Version | 3.0PR19Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 89116c77cd58 | ||||
Projection | none | ETA | none | Target Version | 3.0PR19Q2 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | caristu | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | Production - QA Approved | |||||||
Regression date | 2018-11-22 | |||||||
Regression introduced in release | 3.0PR19Q1 | |||||||
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/4d71d9e4d6d5c9be49d1a301da6dbeefeb5d9048 [^] | |||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0040634: Generation of Discounts and Promotions windows fails under some circumstances | |||||||
Description | Generation of Discounts and Promotions windows fails under some circumstances due the following error: Caused by: org.hibernate.LazyInitializationException: could not initialize proxy [ADTableTree#B6C7204712CC4EDEB5705C93F706DF05] - no Session at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:159) ~[hibernate-core-5.3.2.Final.jar:5.3.2.Final] at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:272) ~[hibernate-core-5.3.2.Final.jar:5.3.2.Final] See the file with the full error stack trace. | |||||||
Steps To Reproduce | 1) Login in Openbravo, having no modules in "in development" status 2) Open the [Discounts and Promotions] window 3) Restart Tomcat 4) Login again with the same browser session and open the [Discounts and Promotions] window 5) Create a new record in the header 6) In a different browser session, login in Openbravo 7) Open the [Discounts and Promotions] window. An error is raised. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0111191) hgbot (developer) 2019-04-17 13:11 |
Repository: erp/backports/3.0PR19Q2 Changeset: 89116c77cd581938577d902c9ba5b54e72b8c4fc Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Wed Apr 17 12:57:28 2019 +0200 URL: http://code.openbravo.com/erp/backports/3.0PR19Q2/rev/89116c77cd581938577d902c9ba5b54e72b8c4fc [^] fixed bug 40634: Discounts and Promotions window fails under some circumstances When Discount and Promotions view was requested having previously initialized ADCS with that window via FIC a LazyInitializationException was thrown. The problem is this window has a tree reference field which was partially initialized in ADCS. --- M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/ApplicationDictionaryCachedStructures.java --- |
(0111341) caristu (developer) 2019-04-26 09:02 |
Code reviewed + tested OK. |
Issue History | |||
Date Modified | Username | Field | Change |
2019-04-17 12:54 | alostale | Type | defect => backport |
2019-04-17 12:54 | alostale | Target Version | => 3.0PR19Q2 |
2019-04-17 13:11 | hgbot | Checkin | |
2019-04-17 13:11 | hgbot | Note Added: 0111191 | |
2019-04-17 13:11 | hgbot | Status | scheduled => resolved |
2019-04-17 13:11 | hgbot | Resolution | open => fixed |
2019-04-17 13:11 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR19Q2/rev/89116c77cd581938577d902c9ba5b54e72b8c4fc [^] |
2019-04-26 09:02 | caristu | Note Added: 0111341 | |
2019-04-26 09:02 | caristu | Status | resolved => closed |
2019-04-26 09:02 | caristu | Fixed in Version | => 3.0PR19Q2 |
Copyright © 2000 - 2009 MantisBT Group |