Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0039356
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Advanced Warehouse Operationsmajoralways2018-09-26 18:412018-09-27 12:30
ReporterngarciaView Statuspublic 
Assigned Tovmromanos 
PriorityurgentResolutionno change requiredFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned Tovmromanos
Regression introduced in release
Summary

0039356: Session is closed error when issuing partial sales order line with attribute set and without reservation (automatic task)

DescriptionSession is closed error when issuing partial sales order line with attribute set and without reservation (automatic task)

Note: the issue is not reproducible in our latest version as Hibernate upgrade has solved it. It should be backported to 18Q3

The 39355 issue should not be solved to reproduce this issue
Steps To ReproduceUsing AWO Sampledata:

Create a new product
Set an Attribute Set to it
Add a sales price list to it

Create a Sales Order for US West
Add 30 units of the previously created product

Create a Physical Inventory Proposal For US West and US West Warehouse
Add 10 units of the product in Food3 storage bin
Set an attribute set value
Process and Create Tasks
Confirm the task

Return to the sales order line and Pick
Confirm the task

Check 10 units of the products have been reserved

Create a Physical Inventory Proposal For US West and US West Warehouse
Open the product selector and select the previously created product line without attribute set
Add 20 units of the product in Food3 storage bin
Set an attribute set value different from the one above
Process and Create Tasks
Confirm the task

Go to Warehouse Operations window and Move the 20 units from Food3 to SHP301 (the storage bin the other 10 units are in)

Go to Warehouse Definition window and change "From SHP, ManConf" to Confirmation = Automatic

Return to the sales order line and Issue
Session is closed! error is shown

The log shows:

ERROR org.openbravo.warehouse.advancedwarehouseoperations.handler.OBAWO_BaseProcessActionHandler - Error in a OBAWO_BaseProcessActionHandler process
org.hibernate.SessionException: Session is closed!
    at org.hibernate.impl.AbstractSessionImpl.errorIfClosed(AbstractSessionImpl.java:72)
    at org.hibernate.impl.SessionImpl.getBatcher(SessionImpl.java:305)
    at org.hibernate.impl.AbstractScrollableResults.close(AbstractScrollableResults.java:122)
    at org.openbravo.warehouse.advancedwarehouseoperations.centralbroker.AutoConfirmatorBehaveAsGroupTasks.autoConfirmBehaveAsGroupTaskBasedOnRoutingConfiguration(AutoConfirmatorBehaveAsGroupTasks.java:59)
    at org.openbravo.warehouse.advancedwarehouseoperations.centralbroker.AutoConfirmatorBehaveAsGroupTasks.run(AutoConfirmatorBehaveAsGroupTasks.java:41)
    at org.openbravo.warehouse.advancedwarehouseoperations.centralbroker.InventoryTransactionTypeAlgorithm.executeAlgorithm(InventoryTransactionTypeAlgorithm.java:246)
    at org.openbravo.warehouse.advancedwarehouseoperations.centralbroker.BatchOfTasksGenerator.createBatchOfTasksUsingItt(BatchOfTasksGenerator.java:183)
    at org.openbravo.warehouse.advancedwarehouseoperations.centralbroker.BatchOfTasksGenerator.createBatchOfTasksIfIttAlgorithmInstanceFound(BatchOfTasksGenerator.java:138)
    at org.openbravo.warehouse.advancedwarehouseoperations.centralbroker.BatchOfTasksGenerator.run(BatchOfTasksGenerator.java:104)
    at org.openbravo.warehouse.advancedwarehouseoperations.centralbroker.CentralBroker.doTheStuff(CentralBroker.java:156)
    at org.openbravo.warehouse.advancedwarehouseoperations.centralbroker.CentralBroker.doTheStuff(CentralBroker.java:106)
    at org.openbravo.warehouse.advancedwarehouseoperations.handler.GenerateReceptionOrIssueListFromOrderHandler.exec(GenerateReceptionOrIssueListFromOrderHandler.java:34)
    at org.openbravo.warehouse.advancedwarehouseoperations.handler.OBAWO_BaseProcessActionHandler.doExecute(OBAWO_BaseProcessActionHandler.java:43)
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
duplicate of defect 0039122 closeddmiguelez Wrong message: 'Session closed' message autoconfirming an issue task 

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2018-09-26 18:41 ngarcia New Issue
2018-09-26 18:41 ngarcia Assigned To => Triage Finance
2018-09-26 18:41 ngarcia Resolution time => 1539727200
2018-09-26 18:41 ngarcia Issue generated from 0039355
2018-09-26 18:42 ngarcia Description Updated View Revisions
2018-09-26 18:42 ngarcia Issue Monitored: networkb
2018-09-27 09:32 vmromanos Assigned To Triage Finance => vmromanos
2018-09-27 09:32 vmromanos Status new => acknowledged
2018-09-27 11:23 martinsdan Issue Monitored: martinsdan
2018-09-27 12:28 vmromanos Status acknowledged => scheduled
2018-09-27 12:28 vmromanos Review Assigned To => vmromanos
2018-09-27 12:28 vmromanos Status scheduled => closed
2018-09-27 12:28 vmromanos Resolution open => no change required
2018-09-27 12:30 vmromanos Relationship added duplicate of 0039122
2022-09-06 17:18 caristu Category Advance Warehouse Operations => Advanced Warehouse Operations


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker