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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0057915
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Distribution Ordersmajoralways2025-02-07 14:482025-02-19 21:21
ReportershuehnerView Statuspublic 
Assigned Toshuehner 
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

0057915: Distributionorder module fails to compile with only it's declared dependencies

DescriptionThe 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 ReproduceMake workspace with only
- backoffice
- org.openbravo.retail.config (pmods)
- org.openbravo.distributionorder (mods)

Run install.source
Proposed SolutionFix the wrong java import to target the library available in backoffice
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(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 [^]

- Issue History
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
Powered by Mantis Bugtracker