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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0051699
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Distribution Ordersmajoralways2023-02-24 16:462023-02-27 19:23
ReporterjlopezView Statuspublic 
Assigned Tojlopez 
PrioritynormalResolutionfixedFixed 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 To
Regression introduced in release
Summary

0051699: All JUnit test cases of the Distribution Orders module finish with errors

DescriptionIf you try to launch the Junit suite of the Distribution Orders module in an environment where the following module is not found:

 - org.openbravo.warehouse.advancedwarehouseoperations.distributionorders (Connector to support Distribution Orders in Advanced Warehouse Operations)

The execution of the tests will fail giving the following exception:

org.openbravo.base.validation.ValidationException: ADPreference.property: Property ADPreference.property, value (OBDOA_DeleteNonConfTaskAndResWhenCloseDO) is not allowed, it should be one of the following values: [...] but it is value OBDOA_DeleteNonConfTaskAndResWhenCloseDO

This preference is found in the mentioned module, which is not dependence on the Distribution Orders module.
Steps To ReproduceLaunch the test suite without the module: org.openbravo.warehouse.advancedwarehouseoperations.distributionorders
Proposed SolutionDelete the following lines of the next class to avoid dependence:

org.openbravo.distributionorder.testOBDO_FB_WeldBaseTest.java

Line 56: DistributionOrderTestUtils.setDeleteNonConfirmedTaskAndReservationsPreference();

Line 62: DistributionOrderTestUtils.unsetDeleteNonConfirmedTaskAndReservationsPreference();
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks feature request 0051542 closedjlopez POS2 Stock for a product in Transit by Warehouse 

-  Notes
(0146998)
hgbot (developer)
2023-02-24 17:04

Merge Request created: https://gitlab.com/openbravo/product/mods/org.openbravo.distributionorder/-/merge_requests/39 [^]
(0147056)
hgbot (developer)
2023-02-27 16:02

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/-/merge_requests/51 [^]
(0147065)
hgbot (developer)
2023-02-27 19:19

Merge request merged: https://gitlab.com/openbravo/product/mods/org.openbravo.distributionorder/-/merge_requests/39 [^]
(0147066)
hgbot (developer)
2023-02-27 19:20

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/mods/org.openbravo.distributionorder [^]
Changeset: 17daeccf79cf366e75f63bdced237cd856467ec3
Author: Javier López <javier.lopez@precognis.com>
Date: 27-02-2023 18:19:04
URL: https://gitlab.com/openbravo/product/mods/org.openbravo.distributionorder/-/commit/17daeccf79cf366e75f63bdced237cd856467ec3 [^]

Fixes ISSUE-51699: Move functions to module DO for AWO for fix JUnit test cases of the Distribution Orders module

---
M src-test/org/openbravo/distributionorder/test/OBDO_FB_WeldBaseTest.java
M src-test/org/openbravo/distributionorder/test/utils/DistributionOrderTestUtils.java
---
(0147067)
hgbot (developer)
2023-02-27 19:23

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/-/merge_requests/51 [^]
(0147068)
hgbot (developer)
2023-02-27 19:23

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders [^]
Changeset: e90b93fc8744228d65e16629afa0a456376e0a4d
Author: Javier López <javier.lopez@precognis.com>
Date: 27-02-2023 15:58:37
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/-/commit/e90b93fc8744228d65e16629afa0a456376e0a4d [^]

Fixes ISSUE-51699: Move functions relative to 'OBDOA_DeleteNonConfTaskAndResWhenCloseDO' preference from DO module

---
M src-test/org/openbravo/warehouse/advancedwarehouseoperations/distributionorders/test/OBDOAWOCloseDistributionOrder.java
M src-test/org/openbravo/warehouse/advancedwarehouseoperations/distributionorders/test/OBDOAWODeviationToCrossDocking.java
M src-test/org/openbravo/warehouse/advancedwarehouseoperations/distributionorders/test/OBDOWithAWOTests.java
M src-test/org/openbravo/warehouse/advancedwarehouseoperations/distributionorders/test/utils/DistributionOrdersWithAWOTestUtils.java
---

- Issue History
Date Modified Username Field Change
2023-02-24 16:46 jlopez New Issue
2023-02-24 16:46 jlopez Assigned To => jlopez
2023-02-24 16:53 jlopez Relationship added blocks 0051150
2023-02-24 16:55 jlopez Relationship added blocks 0051542
2023-02-24 16:57 jlopez Relationship deleted blocks 0051150
2023-02-24 17:04 hgbot Note Added: 0146998
2023-02-27 16:02 hgbot Note Added: 0147056
2023-02-27 19:19 hgbot Note Added: 0147065
2023-02-27 19:20 hgbot Resolution open => fixed
2023-02-27 19:20 hgbot Status new => closed
2023-02-27 19:20 hgbot Note Added: 0147066
2023-02-27 19:23 hgbot Note Added: 0147067
2023-02-27 19:23 hgbot Note Added: 0147068


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker