Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] A. Platformmajorhave not tried2019-04-17 12:042019-04-26 09:02
ReportercaristuView Statuspublic 
Assigned Toalostale 
PriorityhighResolutionfixedFixed in Version3.0PR19Q2
StatusclosedFix in branchFixed in SCM revision89116c77cd58
ProjectionnoneETAnoneTarget Version3.0PR19Q2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tocaristu
Web browser
Regression levelProduction - QA Approved
Regression date2018-11-22
Regression introduced in release3.0PR19Q1
Regression introduced by commit [^]
Triggers an Emergency PackNo

0040634: Generation of Discounts and Promotions windows fails under some circumstances

DescriptionGeneration 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( ~[hibernate-core-5.3.2.Final.jar:5.3.2.Final]
    at org.hibernate.proxy.AbstractLazyInitializer.getImplementation( ~[hibernate-core-5.3.2.Final.jar:5.3.2.Final]

See the file with the full error stack trace.
Steps To Reproduce1) 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0040633 closedalostale Generation of Discounts and Promotions windows fails under some circumstances 

-  Notes
hgbot (developer)
2019-04-17 13:11

Repository: erp/backports/3.0PR19Q2
Changeset: 89116c77cd581938577d902c9ba5b54e72b8c4fc
Author: Asier Lostalé <asier.lostale <at>>
Date: Wed Apr 17 12:57:28 2019 +0200
URL: [^]

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/
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 => [^]
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
Powered by Mantis Bugtracker