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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0051479
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Retail APImajorhave not tried2023-01-11 16:002023-01-27 16:10
Reporternicola_uvaView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget VersionRR22Q4.2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0051479: BP API -Wehen we create BP If we have two greetings with same name (different org) an error happen

DescriptionWhen we have two greetings with same name (different org) an error happen. Below the error:
"Error while importing an item: query did not return a unique result: 2".
See the full stack trace attached


In addition, when a new civility is sent, it seems to be created in the organization of the user sending the JSON (IntegrationUser) and not on the organization of the business partner inside the JSON
Steps To ReproduceUsing postman add the request attached
Proposed SolutionThe mapping should be able to define properly how to identify records univocally
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0051333pi closedranjith_qualiantech_com BP API -Wehen we create BP If we have two greetings with same name (different org) an error happen 

-  Notes
(0145929)
hgbot (developer)
2023-01-27 11:48

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/122 [^]
(0145947)
hgbot (developer)
2023-01-27 16:10

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.api [^]
Changeset: 0237de476c02c272f9c4521de262a883cd768620
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 27-01-2023 16:13:29
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/commit/0237de476c02c272f9c4521de262a883cd768620 [^]

Fixed ISSUE-51479: Greeting should be created always with * Org
* Added OBObjectInitializer for import greeting,
  to save greeting always in * organization

---
A src/org/openbravo/api/mappings/businesspartner/GreetingOBObjectInitializer.java
---
(0145948)
hgbot (developer)
2023-01-27 16:10

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/122 [^]

- Issue History
Date Modified Username Field Change
2023-01-27 10:40 marvintm Type defect => backport
2023-01-27 10:40 marvintm Target Version pi => RR22Q4.2
2023-01-27 11:48 hgbot Note Added: 0145929
2023-01-27 16:10 hgbot Resolution open => fixed
2023-01-27 16:10 hgbot Status scheduled => closed
2023-01-27 16:10 hgbot Note Added: 0145947
2023-01-27 16:10 hgbot Note Added: 0145948


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker