Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0042163Openbravo ERPA. Platformpublic2019-10-30 14:042019-11-05 11:00
ALopetegui 
alostale 
immediateminorhave not tried
closedfixed 
5
 
3.0PR19Q2.4 
AugustoMauch
Core
Production - Confirmed Stable
2018-07-24
3.0PR18Q4
http://code.openbravo.com/erp/devel/pi/rev/95dcfa93d706654e1fbddfc3966bec7280081ac1 [^]
No
0042163: Grid timeout returns unclear message in the backoffice
The grid timeout returns unclear message to the user:

org.hibernate.exception.GenericJDBCException: could not extract ResultSet
Define low value to db.queryTimeout.grid in Openbravo.properties.

Open a window in the backend and filter the window to provoke a timeout.

The grid shows the unclear message.
Handle the hibernate exception to show better message to the user.
No tags attached.
blocks defect 0042153 closed alostale Grid timeout returns unclear message in the backoffice 
Issue History
2019-10-31 09:11alostaleTypedefect => backport
2019-10-31 09:11alostaleTarget Version => 3.0PR19Q2.4
2019-11-05 09:16hgbotCheckin
2019-11-05 09:16hgbotNote Added: 0115400
2019-11-05 09:16hgbotStatusscheduled => resolved
2019-11-05 09:16hgbotResolutionopen => fixed
2019-11-05 09:16hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR19Q2.4/rev/d65560d0a983a400bb7235263d74ca7acdfc8e76 [^]
2019-11-05 11:00AugustoMauchNote Added: 0115410
2019-11-05 11:00AugustoMauchStatusresolved => closed

Notes
(0115400)
hgbot   
2019-11-05 09:16   
Repository: erp/backports/3.0PR19Q2.4
Changeset: d65560d0a983a400bb7235263d74ca7acdfc8e76
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Oct 31 09:05:28 2019 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR19Q2.4/rev/d65560d0a983a400bb7235263d74ca7acdfc8e76 [^]

fixed bug 42163: grid timeout returns unclear message

When a query timeout occurs fetching grid data, the message displayed in
UI is not user friendly.

This is caused by different exception thrown after Hibernate upgrade.

---
M modules/org.openbravo.service.json/src/org/openbravo/service/json/JsonUtils.java
---
(0115410)
AugustoMauch   
2019-11-05 11:00   
Code reviewed and verified