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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0040305
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Distribution Ordersmajoralways2019-03-01 10:082019-03-07 16:12
ReportergorkaionView Statuspublic 
Assigned Tomarkmm82 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision02890ba74b7c
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned Todmiguelez
Regression introduced in release
Summary

0040305: Error confirming a DO Issue with more than 100 lines

DescriptionWhen confirming a DO Issue with more than 100 lines the following error is thrown:

could not initialize proxy - no Session

The error seem to be raised after the clear session done in line 326 of ProcessDistributionOrderUtil.java
Steps To ReproduceCreate a DO Receipt with more than 100 lines.
Book it.
Go to generated DO Issue.
Confirm it.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0040182 closedmarkmm82 Error processing a DO Receipt with more than 100 lines 

-  Notes
(0110167)
markmm82 (developer)
2019-03-03 22:31

Test Plan:
Create a DO Receipt with more than 100 lines.
Book it.
Go to generated DO Issue.
Confirm it.
Notice the process ends successfully.
(0110288)
hgbot (developer)
2019-03-07 16:05

Repository: erp/mods/org.openbravo.distributionorder
Changeset: 02890ba74b7c27bbc62c3b77c2134acf6a404449
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Wed Mar 06 17:50:19 2019 +0100
URL: http://code.openbravo.com/erp/mods/org.openbravo.distributionorder/rev/02890ba74b7c27bbc62c3b77c2134acf6a404449 [^]

Fixes issue 40305: Error processing a DO Issue with more than 100 lines

After clear session, it is refreshed the processing DO (distOrder object).

---
M src/org/openbravo/distributionorder/erpCommon/utility/ProcessDistributionOrderUtil.java
---
(0110289)
hgbot (developer)
2019-03-07 16:05

Repository: erp/mods/org.openbravo.distributionorder
Changeset: 02890ba74b7c27bbc62c3b77c2134acf6a404449
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Wed Mar 06 17:50:19 2019 +0100
URL: http://code.openbravo.com/erp/mods/org.openbravo.distributionorder/rev/02890ba74b7c27bbc62c3b77c2134acf6a404449 [^]

Fixes issue 40305: Error processing a DO Issue with more than 100 lines

After clear session, it is refreshed the processing DO (distOrder object).

---
M src/org/openbravo/distributionorder/erpCommon/utility/ProcessDistributionOrderUtil.java
---
(0110290)
hgbot (developer)
2019-03-07 16:05

Repository: retail/backports/AWO/3.0RR18Q3/org.openbravo.distributionorder
Changeset: 714d7947de3b43ab71aecb28c6aae1834d75e744
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Thu Mar 07 16:04:48 2019 +0100
URL: http://code.openbravo.com/retail/backports/AWO/3.0RR18Q3/org.openbravo.distributionorder/rev/714d7947de3b43ab71aecb28c6aae1834d75e744 [^]

Related to issue 40305. Backport to Q3. Fixes problem when
refreshing DO and movement objects after session cleared.

---
M src/org/openbravo/distributionorder/erpCommon/utility/DistributioOrderUtils.java
M src/org/openbravo/distributionorder/erpCommon/utility/ProcessDistributionOrderUtil.java
---
(0110291)
hgbot (developer)
2019-03-07 16:05

Repository: erp/mods/org.openbravo.distributionorder
Changeset: 63d36338853daee396b1c48ecbdc268f39f90b62
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Thu Mar 07 09:19:35 2019 +0100
URL: http://code.openbravo.com/erp/mods/org.openbravo.distributionorder/rev/63d36338853daee396b1c48ecbdc268f39f90b62 [^]

Related to Issue 40305: Refres Distribution Order Object after
clear session. No issue has been reported yet for this scenarios.
But, since it is a utils class, it is likely that in the future
this problem can be raised if not fixed now.

---
M src/org/openbravo/distributionorder/erpCommon/utility/ProcessDistributionOrderUtil.java
---
(0110292)
hgbot (developer)
2019-03-07 16:05

Repository: erp/mods/org.openbravo.distributionorder
Changeset: 743be7451ef5e28f2af79244a88e6cb3db965860
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Thu Mar 07 09:40:23 2019 +0100
URL: http://code.openbravo.com/erp/mods/org.openbravo.distributionorder/rev/743be7451ef5e28f2af79244a88e6cb3db965860 [^]

Related to Issue 40305. Moved refresh of Movement object
after clear of session to avoid issue when processing a
Receive DO

---
M src/org/openbravo/distributionorder/erpCommon/utility/DistributioOrderUtils.java
---
(0110293)
hgbot (developer)
2019-03-07 16:05

Repository: erp/mods/org.openbravo.distributionorder
Changeset: 4e10e65182a30681217147abb592a68510e04c83
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Thu Mar 07 11:11:26 2019 +0100
URL: http://code.openbravo.com/erp/mods/org.openbravo.distributionorder/rev/4e10e65182a30681217147abb592a68510e04c83 [^]

Related to Issue 40305. Adds a comment and an extra refresh for the
movement object.

- The first refresh is done to recover the lost object after a session
  clear, for it to be used again
- The second one is done to refresh the data that has changed due to
  other processes

---
M src/org/openbravo/distributionorder/erpCommon/utility/DistributioOrderUtils.java
---
(0110294)
dmiguelez (developer)
2019-03-07 16:10

With Distribuion Orders Module installed and sample data applied.

Log in as F&B Admin
Go to Distribution Order Receipt Window and create a new record with:
- Organization: F&B US East Coast
- Warehouse Receipt: US East Coast
- Warehouse Issue: US West Coast
Move to lines Tab and create 110 new records with:
- Product: Ale Beer
- Ordered Quantity: 10
Book the document

Navigate to the related Distribution Order Issue
Confirm the document

Go to Issue Distribution Order window and create a new record with:
- Organization: US West Coast
- Distribution Order: The one confirmed previously
- In Transit Bin: WC-RM-0-0
Click on generate lines

Go to Receive Distribution Order window and create a new record with:
- Organization: US West Coast
- Issue Movement: The one created previously
Click on generate lines and select EC-0-0-0 Bin

The process finishes successfully
(0110295)
dmiguelez (developer)
2019-03-07 16:12

Code Review + Testing Ok

- Issue History
Date Modified Username Field Change
2019-03-01 10:08 gorkaion New Issue
2019-03-01 10:08 gorkaion Assigned To => Triage Finance
2019-03-01 10:08 gorkaion Resolution time => 1553209200
2019-03-01 10:08 gorkaion Issue generated from 0040182
2019-03-01 10:31 Sandrahuguet Assigned To Triage Finance => markmm82
2019-03-03 19:54 markmm82 Status new => scheduled
2019-03-03 22:31 markmm82 Note Added: 0110167
2019-03-05 16:08 galderromo Issue Monitored: galderromo
2019-03-06 17:47 Sandrahuguet Relationship added related to 0040182
2019-03-07 16:05 hgbot Checkin
2019-03-07 16:05 hgbot Note Added: 0110288
2019-03-07 16:05 hgbot Checkin
2019-03-07 16:05 hgbot Note Added: 0110289
2019-03-07 16:05 hgbot Status scheduled => resolved
2019-03-07 16:05 hgbot Resolution open => fixed
2019-03-07 16:05 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/mods/org.openbravo.distributionorder/rev/02890ba74b7c27bbc62c3b77c2134acf6a404449 [^]
2019-03-07 16:05 hgbot Status scheduled => resolved
2019-03-07 16:05 hgbot Checkin
2019-03-07 16:05 hgbot Note Added: 0110290
2019-03-07 16:05 hgbot Checkin
2019-03-07 16:05 hgbot Note Added: 0110291
2019-03-07 16:05 hgbot Checkin
2019-03-07 16:05 hgbot Note Added: 0110292
2019-03-07 16:05 hgbot Checkin
2019-03-07 16:05 hgbot Note Added: 0110293
2019-03-07 16:10 dmiguelez Note Added: 0110294
2019-03-07 16:12 dmiguelez Review Assigned To => dmiguelez
2019-03-07 16:12 dmiguelez Note Added: 0110295
2019-03-07 16:12 dmiguelez Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker