Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0040635Openbravo ERPA. Platformpublic2019-04-17 12:042019-04-26 09:03
caristu 
alostale 
highmajorhave not tried
closedfixed 
5
 
3.0PR19Q1.13.0PR19Q1.1 
caristu
Core
Production - QA Approved
2018-11-22
3.0PR19Q1
https://code.openbravo.com/erp/devel/pi/rev/4d71d9e4d6d5c9be49d1a301da6dbeefeb5d9048 [^]
No
0040635: Generation of Discounts and Promotions windows fails under some circumstances
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.
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.
No tags attached.
blocks defect 0040633 closed alostale Generation of Discounts and Promotions windows fails under some circumstances 
Issue History
2019-04-17 12:54alostaleTypedefect => backport
2019-04-17 12:54alostaleTarget Version => 3.0PR19Q1.1
2019-04-17 13:13alostaleNote Added: 0111192
2019-04-17 13:13alostaleStatusscheduled => resolved
2019-04-17 13:13alostaleFixed in SCM revision => https://code.openbravo.com/erp/backports/3.0PR19Q1.1/rev/35616a3d9406 [^]
2019-04-17 13:13alostaleResolutionopen => fixed
2019-04-26 09:03caristuNote Added: 0111342
2019-04-26 09:03caristuStatusresolved => closed
2019-04-26 09:03caristuFixed in Version => 3.0PR19Q1.1

Notes
(0111192)
alostale   
2019-04-17 13:13   
Fixed with incorrect commit message

https://code.openbravo.com/erp/backports/3.0PR19Q1.1/rev/35616a3d9406 [^]

changeset: 35329:35616a3d9406
tag: tip
user: Asier Lostalé <asier.lostale@openbravo.com>
date: Wed Apr 17 12:57:28 2019 +0200
summary: fixed bug 40655: Discounts and Promotions window fails under some circumstances
(0111342)
caristu   
2019-04-26 09:03   
Code reviewed + tested OK.