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

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

0058054: 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 ]
related to defect 0056980 closedjgalarza API Product - Error when updating a related product 
depends on backport 0058077RR25Q1 closedSathishkumar Import Product: relation of related product inversed 
depends on backport 0058078RR24Q4.2 closedSathishkumar Import Product: relation of related product inversed 

-  Notes
(0176090)
aaroncalero (viewer)
2025-02-24 17:13

Reassigning to Omni team as it might be a regression caused by 0056980
(0176133)
jonae (viewer)
2025-02-26 07:28

Jira - https://openbravo.atlassian.net/browse/RM-21579 [^]
(0176141)
hgbot (developer)
2025-02-26 10:41

Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.api/-/merge_requests/436 [^]
(0176412)
hgbot (developer)
2025-03-04 11:46

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.api [^]
Changeset: cd8e63ff8b6aa366ddc006cb781a5250ecf6ec48
Author: Sathishkumar Palanisamy <sa.palanisamy@external.orisha.com>
Date: 04-03-2025 10:46:31
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.api/-/commit/cd8e63ff8b6aa366ddc006cb781a5250ecf6ec48 [^]

Fixes ISSUE-58054: Fixed relation of related product inversed during import product

---
M src/org/openbravo/api/mappings/product/ImportProductJavaPropertyMappingHandler.java
---
(0176413)
hgbot (developer)
2025-03-04 11:46

Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.api/-/merge_requests/436 [^]

- Issue History
Date Modified Username Field Change
2025-02-21 15:58 javietxe New Issue
2025-02-21 15:58 javietxe Assigned To => Retail
2025-02-21 15:58 javietxe OBNetwork customer => Gold
2025-02-21 15:58 javietxe Triggers an Emergency Pack => No
2025-02-24 17:13 aaroncalero Relationship added related to 0056980
2025-02-24 17:13 aaroncalero Note Added: 0176090
2025-02-24 17:13 aaroncalero Assigned To Retail => Triage Omni OMS
2025-02-26 07:28 jonae Note Added: 0176133
2025-02-26 07:28 jonae Assigned To Triage Omni OMS => Sathishkumar
2025-02-26 10:41 hgbot Merge Request Status => open
2025-02-26 10:41 hgbot Note Added: 0176141
2025-02-26 10:59 jonae Status new => scheduled
2025-03-04 11:46 hgbot Resolution open => fixed
2025-03-04 11:46 hgbot Status scheduled => resolved
2025-03-04 11:46 hgbot Note Added: 0176412
2025-03-04 11:46 hgbot Merge Request Status open => merged
2025-03-04 11:46 hgbot Note Added: 0176413
2025-03-04 11:47 jonae Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker