Openbravo Issue Tracking System - Modules
View Issue Details
0051159ModulesDistribution Orderspublic2022-12-14 16:152022-12-14 16:15
guillermogil 
Triage Omni WMS 
normalminoralways
newopen 
5
 
 
0051159: Distribution Order jUnit Tests are using preferences from a different module
Distribution Order jUnit Tests are using preferences from a different module:
https://gitlab.com/openbravo/product/mods/org.openbravo.distributionorder/-/blob/master/src-test/org/openbravo/distributionorder/test/utils/DistributionOrderTestUtils.java#L992 [^]

Example of a failing test:
https://builds.openbravo.com/job/mod-simple/64024/testReport/junit/org.openbravo.distributionorder.test/OBDOAutomaticCloseTests/DOC010_CheckAutomaticCloseDistributionOrder/ [^]

As that module is not a dependency from Distribution Order (That is OK) the preference does not exists.
On an environment with Openbravo Core and Distribution Order execute the jUnit tests.
Following error will raise:
ADPreference.property: Property ADPreference.property, value (OBDOA_DeleteNonConfTaskAndResWhenCloseDO) is not allowed, it should be one of the following values: ... ...
Use only preference from those modules and migurate the failing tests to AWO Distibution Order Module
No tags attached.
Issue History
2022-12-14 16:15guillermogilNew Issue
2022-12-14 16:15guillermogilAssigned To => Triage Omni WMS

There are no notes attached to this issue.