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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0054498
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Openbravo Business APImajoralways2024-01-30 10:372024-01-30 11:28
ReportervmromanosView Statuspublic 
Assigned ToRetail 
PrioritynormalResolutionopenFixed in Version
StatusnewFix 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

0054498: Cross dependency to org.openbravo.retail.discounts

DescriptionIn Promotion entity mapping Inwards, the xUnits property mapping instance is included in the Business API module. However, this property belongs org.openbravo.retail.discounts so it shouldn't be added to Business API module.


In fact the Retail API module does already include this property, so I think we just need to delete it
Steps To ReproduceThis is how I detected the problem

In a minimum environment, without retail stuff, try to access swagger. An error is thrown.

After removing the xUnits property mapping instance, you can access to swagger.

This is my environment:
 * openbravo
 * modules/org.openbravo.api
 * modules/org.openbravo.events.core:
 * modules/org.openbravo.externaldata.integration
 * modules/org.openbravo.service.external.integration
 * modules/org.openbravo.service.openapi
Proposed SolutionRemove the xUnits property mapping instance. Attached proposed file

Nice to have: Try to automate this check at compilation time to raise the problem in CI.
TagsNo tags attached.
Attached Filesdiff file icon xunits-org.openbravo.api.diff [^] (2,218 bytes) 2024-01-30 10:37 [Show Content]
png file icon 54498-Inward-WRONG.png [^] (107,780 bytes) 2024-01-30 10:39


png file icon 54498-Outward-OK.png [^] (102,129 bytes) 2024-01-30 10:40

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0054499 acknowledgedTriage Platform Conn Mechanism to avoid property mapping definitions causing incorrect module dependencies 

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2024-01-30 10:37 vmromanos New Issue
2024-01-30 10:37 vmromanos Assigned To => Triage Platform Conn
2024-01-30 10:37 vmromanos File Added: xunits-org.openbravo.api.diff
2024-01-30 10:38 vmromanos Steps to Reproduce Updated View Revisions
2024-01-30 10:39 vmromanos File Added: 54498-Inward-WRONG.png
2024-01-30 10:40 vmromanos File Added: 54498-Outward-OK.png
2024-01-30 11:22 caristu Assigned To Triage Platform Conn => Retail
2024-01-30 11:28 caristu Issue cloned 0054499
2024-01-30 11:28 caristu Relationship added related to 0054499


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker