Openbravo Issue Tracking System - Modules
View Issue Details
0047730ModulesAdvanced Warehouse Operationspublic2021-09-21 12:002021-09-21 13:09
vmromanos 
vmromanos 
immediatemajorrandom
closedfixed 
5
 
 
2021-09-17
https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations/-/commit/4eb767e887daf2b68a8c9346d0ca49179938f2f7 [^]
Automated tests
0047730: The replenishment priority is not respected
The replenishment process must be executed considering its priority (Warehouse Definition | Replenishment --> Sequence Number). However, after the 0047551 fix the order is lost.
The issue is reproducible randomly. You can try to run the AWOreplen_TestSuite several times till some tests fail.
In the AWO task generation engine, respect the objects' order if it's provided
No tags attached.
caused by defect 0047551 closed vmromanos Generate picking process can be launched twice in parrallel -> this generates two picking tasks for certain items 
Issue History
2021-09-21 12:00vmromanosNew Issue
2021-09-21 12:00vmromanosAssigned To => vmromanos
2021-09-21 12:00vmromanosRegression date => 2021-09-17
2021-09-21 12:00vmromanosRegression introduced by commit => https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations/-/commit/4eb767e887daf2b68a8c9346d0ca49179938f2f7 [^]
2021-09-21 12:00vmromanosRegression level => Automated tests
2021-09-21 12:00vmromanosRelationship addedcaused by 0047551
2021-09-21 12:01vmromanosStatusnew => scheduled
2021-09-21 12:49hgbotNote Added: 0131948
2021-09-21 12:49vmromanosNote Added: 0131949
2021-09-21 13:09hgbotResolutionopen => fixed
2021-09-21 13:09hgbotStatusscheduled => closed
2021-09-21 13:09hgbotNote Added: 0131950
2021-09-21 13:09hgbotNote Added: 0131951
2022-09-06 17:18caristuCategoryAdvance Warehouse Operations => Advanced Warehouse Operations

Notes
(0131948)
hgbot   
2021-09-21 12:49   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations/-/merge_requests/33 [^]
(0131949)
vmromanos   
2021-09-21 12:49   
Test plan:
Run the AWOreplen_TestSuite several times and make sure it doesn't fail
(0131950)
hgbot   
2021-09-21 13:09   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations [^]
Changeset: 64bd350774bface55c4c707142bda5463a246021
Author: Víctor Martínez Romanos <victor.martinez@openbravo.com>
Date: 2021-09-21T12:34:58+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations/-/commit/64bd350774bface55c4c707142bda5463a246021 [^]

Fixed ISSUE-47730: Respect original objects' order if available

The task generator now sets a predefined order when processing the objects we
are generating tasks from. This is done to avoid dead locks.

However, there are places where we can't modify the order to process the objects,
because they have some business logic behind. For example, in Self-Replenishment
process we need to run the replenishment considering the priority defined into
the configuration.
In these cases the Map of objects is already ordered through a LinkedHashMap.

The code now respects the LinkedHashMap order, and sets a predefined order otherwise.

---
M src/org/openbravo/warehouse/advancedwarehouseoperations/centralbroker/InventoryTransactionTypeAlgorithm.java
---
(0131951)
hgbot   
2021-09-21 13:09   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations/-/merge_requests/33 [^]