Openbravo Issue Tracking System - Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0051699 | Modules | Distribution Orders | public | 2023-02-24 16:46 | 2023-02-27 19:23 |
|
Reporter | jlopez | |
Assigned To | jlopez | |
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | approved |
Regression date | |
Regression introduced by commit | |
Regression level | |
Review Assigned To | |
Support ticket | |
OBNetwork customer | No |
Regression introduced in release | |
|
Summary | 0051699: All JUnit test cases of the Distribution Orders module finish with errors |
Description | If 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 Reproduce | Launch the test suite without the module: org.openbravo.warehouse.advancedwarehouseoperations.distributionorders |
Proposed Solution | Delete 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(); |
Additional Information | |
Tags | No tags attached. |
Relationships | blocks | feature request | 0051542 | | closed | jlopez | POS2 | Stock for a product in Transit by Warehouse |
|
Attached Files | |
|
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:46 | jlopez | OBNetwork customer | => No |
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 | Merge Request Status | => open |
2023-02-24 17:04 | hgbot | Note Added: 0146998 | |
2023-02-27 15:22 | hgbot | Merge Request Status | open => approved |
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 | |
Notes |
|
(0146998)
|
hgbot
|
2023-02-24 17:04
|
|
|
|
(0147056)
|
hgbot
|
2023-02-27 16:02
|
|
|
|
(0147065)
|
hgbot
|
2023-02-27 19:19
|
|
|
|
(0147066)
|
hgbot
|
2023-02-27 19:20
|
|
|
|
(0147067)
|
hgbot
|
2023-02-27 19:23
|
|
|
|
(0147068)
|
hgbot
|
2023-02-27 19:23
|
|
|