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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0058077
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Retail APImajorhave not tried2025-02-21 15:582025-03-04 12:07
ReporterjavietxeView Statuspublic 
Assigned ToSathishkumar 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget VersionRR25Q1
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

0058077: 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
(0176415)
hgbot (developer)
2025-03-04 12:05

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

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

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.api [^]
Changeset: 395e31e0b5594ee2d0d774d233a3ce3a324e61d4
Author: Jon Alegría <j.alegria@external.orisha.com>
Date: 04-03-2025 11:06:48
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.api/-/commit/395e31e0b5594ee2d0d774d233a3ce3a324e61d4 [^]

Fixes ISSUE-58077: 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 => RR25Q1
2025-03-04 12:05 hgbot Note Added: 0176415
2025-03-04 12:06 hgbot Merge Request Status open => merged
2025-03-04 12:06 hgbot Note Added: 0176416
2025-03-04 12:06 hgbot Resolution open => fixed
2025-03-04 12:06 hgbot Status scheduled => resolved
2025-03-04 12:06 hgbot Note Added: 0176417
2025-03-04 12:07 jonae Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker