Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0057915 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Modules] Distribution Orders | major | always | 2025-02-07 14:48 | 2025-02-19 21:21 | |||
Reporter | shuehner | View Status | public | |||||
Assigned To | shuehner | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Regression date | ||||||||
Regression introduced by commit | ||||||||
Regression level | ||||||||
Review Assigned To | ||||||||
Regression introduced in release | ||||||||
Summary | 0057915: Distributionorder module fails to compile with only it's declared dependencies | |||||||
Description | The DO module declares only dependencies on backoffice org.openbravo.retail.config https://gitlab.com/openbravo/product/mods/org.openbravo.distributionorder/-/blob/1.2.244000/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml?ref_type=tags [^] But trying to use/compile with only with those it fails to compile. Technically is uses commons-lang3 library where backoffice only has commons-lang (different major version). That probably got missed when only testing DO when also having org.openbravo.openapi module installed. Apart from being a bug on itself this blocks future DO merged into backoffice. | |||||||
Steps To Reproduce | Make workspace with only - backoffice - org.openbravo.retail.config (pmods) - org.openbravo.distributionorder (mods) Run install.source | |||||||
Proposed Solution | Fix the wrong java import to target the library available in backoffice | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0175314) hgbot (developer) 2025-02-07 15:00 |
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/mods/org.openbravo.distributionorder/-/merge_requests/87 [^] |
(0175925) hgbot (developer) 2025-02-19 21:21 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/mods/org.openbravo.distributionorder [^] Changeset: 1358b7182f64a969796a4ed78ba08b5265921230 Author: Stefan Huehner <s.huehner@orisha.com> Date: 07-02-2025 14:57:25 URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/mods/org.openbravo.distributionorder/-/commit/1358b7182f64a969796a4ed78ba08b5265921230 [^] Fixes ISSUE-57915: Fix compilation without openapi module Fix java import to StringUtils utility class from commons-lang. It wrongly imports the version from commons-lang3 jar file which only exists in openapi module (and this module doesn't depend on openapi). Instead import same class from common-lang (v2) available in backoffice repository. --- M src/org/openbravo/distributionorder/actionHandler/OnChangeVendorActionHandler.java --- |
(0175926) hgbot (developer) 2025-02-19 21:21 |
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/mods/org.openbravo.distributionorder/-/merge_requests/87 [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2025-02-07 14:48 | shuehner | New Issue | |
2025-02-07 14:48 | shuehner | Assigned To | => Triage Omni WMS |
2025-02-07 15:00 | hgbot | Note Added: 0175314 | |
2025-02-19 21:17 | aferraz | Assigned To | Triage Omni WMS => shuehner |
2025-02-19 21:21 | hgbot | Resolution | open => fixed |
2025-02-19 21:21 | hgbot | Status | new => closed |
2025-02-19 21:21 | hgbot | Note Added: 0175925 | |
2025-02-19 21:21 | hgbot | Note Added: 0175926 |
Copyright © 2000 - 2009 MantisBT Group |