Openbravo Issue Tracking System - Modules
View Issue Details
0038532ModulesAdvanced Warehouse Operationspublic2018-05-13 14:362019-08-19 08:22
dmiguelez 
collazoandy4 
normalminoralways
closedno change required 
5
 
 
Sandrahuguet
0038532: Error message not properly shown in application due to Hibernate 'Session closed error'
Error message not properly shown in application due to Hibernate 'Session closed error'

Some error messages that should be shown to the user like 'Confirm Bin To can not be empty' are not shown due to Hibernate 'Session closed error'
Not able to provide steps.
Code in proposed solution must serve as an example of the problem.
Proposed solution attached.
No tags attached.
diff proposedSolution38532.diff (806) 2018-05-13 14:36
https://issues.openbravo.com/file_download.php?file_id=11797&type=bug
Issue History
2018-05-13 14:36dmiguelezNew Issue
2018-05-13 14:36dmiguelezAssigned To => dmiguelez
2018-05-13 14:36dmiguelezFile Added: proposedSolution38532.diff
2018-05-24 13:25ngarciaIssue Monitored: ngarcia
2018-05-24 13:25ngarciaIssue Monitored: networkb
2018-07-04 16:33vmromanosNote Added: 0105590
2018-10-16 12:54martinsdanIssue Monitored: martinsdan
2019-08-17 07:36collazoandy4Statusnew => scheduled
2019-08-17 07:36collazoandy4Assigned Todmiguelez => collazoandy4
2019-08-19 08:22SandrahuguetReview Assigned To => Sandrahuguet
2019-08-19 08:22SandrahuguetNote Added: 0114059
2019-08-19 08:22SandrahuguetStatusscheduled => closed
2019-08-19 08:22SandrahuguetResolutionopen => no change required
2022-09-06 17:18caristuCategoryAdvance Warehouse Operations => Advanced Warehouse Operations

Notes
(0105590)
vmromanos   
2018-07-04 16:33   
Proposed solution is NOT right.
We should use:

    Session dalSession = OBDal.getInstance().getSession();
    try {
      // The code
    } finally {
      if (dalSession.isOpen()) {
        scroll.close();
    }
(0114059)
Sandrahuguet   
2019-08-19 08:22   
issue not reproducible since the new version of hibernate