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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0057839
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Modules] External Integration Infrastructureminorhave not tried2025-02-03 11:212025-02-04 08:18
ReportercaristuView Statuspublic 
Assigned ToTriage Platform Conn 
PriorityhighResolutionopenFixed 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

0057839: Support having multiple java property mapping handlers per entity mapping

DescriptionCurrently it is possible to define java property mappings for an entity by creating one of these classes:
  - ImportJavaPropertyMappingHandler: for inward entity mappings
  - ExportJavaPropertyMappingHandler: for outward entity mappings

In both cases when resolving an entity mapping only one instance of those classes is used to generate the java property mappings: the one with more priority (lowest value returned by the getPriority method)

This has several drawbacks:
  - To provide mappings coming from different modules, it is necessary to define classes that extend the “core” java mappings to avoid losing the “core” mappings and also to reduce the code duplication.
  - In case we want to define mappings from different modules with has no dependencies between them, they collide causing that the mappings of the java class defined with lower priority to be lost

We now want to get rid of this limitation, allowing modules to define their mappings without the need of knowing about the mappings defined by other modules
Steps To Reproduce.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0175048)
hgbot (developer)
2025-02-03 11:23

Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.service.external.integration/-/merge_requests/54 [^]
(0175070)
hgbot (developer)
2025-02-03 17:25

Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.api/-/merge_requests/426 [^]
(0175081)
hgbot (developer)
2025-02-04 08:18

Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/ci/modules/org.openbravo.service.external.integration.tests/-/merge_requests/27 [^]

- Issue History
Date Modified Username Field Change
2025-02-03 11:21 caristu New Issue
2025-02-03 11:21 caristu Assigned To => Triage Platform Conn
2025-02-03 11:23 hgbot Note Added: 0175048
2025-02-03 17:25 hgbot Note Added: 0175070
2025-02-04 08:18 hgbot Note Added: 0175081


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker