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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0058078
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Retail APImajorhave not tried2025-02-21 15:582025-03-04 12:32
ReporterjavietxeView Statuspublic 
Assigned ToSathishkumar 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget VersionRR24Q4.2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Merge Request Statusmerged
Review Assigned To
OBNetwork customerGold
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0058078: Import Product: relation of related product inversed

DescriptionVia API: When a service or contribution is integrated and related products are defined, the relationship is inverted so the service/contribution is set as the related product of the Item.
Steps To ReproduceIn livebuilds:

- GO to backoffice-> Product
- Modify the "Basecamp lantern with legs" product setting:
   + Product Type: Contribution
   + Product Subtype: DEEE Eco-contribution
   + Relatable Product-> Included products-> "Only those defined"
- Integrate via API the next JSON:

[{"client":"The White Valley Group","organization":"CTS","searchKey":"Basecamp lantern with legs","name":"Basecamp lantern with legs","uom":"Unit","productCategory":"Lighting","taxCategory":"IVA Normal","relatedProducts":[{"product":"Battery charger","multiplicator":1,"active":true}]}]

- Check that for "Basecamp lantern with legs" in the tab "Related Products" is empty.
- Check in the database that the relationship (m_product_service) is created with "Basecamp lantern with legs" as related product of the "Battery charger" (in the backoffice the tab is not shown for items)
 
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0058054 closedSathishkumar Import Product: relation of related product inversed 

-  Notes
(0176420)
hgbot (developer)
2025-03-04 12:31

Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.api/-/merge_requests/439 [^]
(0176421)
hgbot (developer)
2025-03-04 12:32

Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.api/-/merge_requests/439 [^]
(0176422)
hgbot (developer)
2025-03-04 12:32

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.api [^]
Changeset: be2108cdde0e63f0aef6ad6c5900cd17376a18dc
Author: Jon Alegria <j.alegria@external.orisha.com>
Date: 04-03-2025 12:30:25
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.api/-/commit/be2108cdde0e63f0aef6ad6c5900cd17376a18dc [^]

Fixes ISSUE-58078: Import Product: relation of related product inversed

---
M src/org/openbravo/api/mappings/product/ImportProductJavaPropertyMappingHandler.java
---

- Issue History
Date Modified Username Field Change
2025-02-26 10:59 jonae Type defect => backport
2025-02-26 10:59 jonae Target Version => RR24Q4.2
2025-03-04 12:31 hgbot Note Added: 0176420
2025-03-04 12:32 hgbot Merge Request Status open => merged
2025-03-04 12:32 hgbot Note Added: 0176421
2025-03-04 12:32 hgbot Resolution open => fixed
2025-03-04 12:32 hgbot Status scheduled => resolved
2025-03-04 12:32 hgbot Note Added: 0176422
2025-03-04 12:32 jonae Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker