Openbravo Issue Tracking System - Retail Modules
View Issue Details
0051333Retail ModulesRetail APIpublic2023-01-11 16:002023-01-27 10:40
nicola_uva 
ranjith_qualiantech_com 
urgentmajorhave not tried
closedfixed 
5
 
piRR23Q2 
marvintm
No
0051333: BP API -Wehen we create BP If we have two greetings with same name (different org) an error happen
When 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
Using postman add the request attached
The mapping should be able to define properly how to identify records univocally
No tags attached.
depends on backport 0051478RR23Q1 closed ranjith_qualiantech_com BP API -Wehen we create BP If we have two greetings with same name (different org) an error happen 
depends on backport 0051479RR22Q4.2 closed ranjith_qualiantech_com BP API -Wehen we create BP If we have two greetings with same name (different org) an error happen 
txt Bpstacktrace.txt (4,560) 2023-01-11 16:00
https://issues.openbravo.com/file_download.php?file_id=18013&type=bug
txt bperror.txt (1,310) 2023-01-11 16:09
https://issues.openbravo.com/file_download.php?file_id=18017&type=bug
Issue History
2023-01-11 16:00nicola_uvaNew Issue
2023-01-11 16:00nicola_uvaAssigned To => caristu
2023-01-11 16:00nicola_uvaFile Added: Bpstacktrace.txt
2023-01-11 16:00nicola_uvaTriggers an Emergency Pack => No
2023-01-11 16:09nicola_uvaFile Added: bperror.txt
2023-01-11 16:12nicola_uvaAssigned Tocaristu => Triage Omni OMS
2023-01-11 16:27aferrazAssigned ToTriage Omni OMS => Retail
2023-01-12 11:46nicola_uvaPrioritynormal => urgent
2023-01-18 21:31nicola_uvaDescription Updatedbug_revision_view_page.php?rev_id=25415#r25415
2023-01-19 06:18ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2023-01-19 06:21ranjith_qualiantech_comStatusnew => scheduled
2023-01-25 06:03hgbotNote Added: 0145810
2023-01-26 07:50hgbotResolutionopen => fixed
2023-01-26 07:50hgbotStatusscheduled => closed
2023-01-26 07:50hgbotNote Added: 0145845
2023-01-26 07:50hgbotNote Added: 0145846
2023-01-27 10:40marvintmStatusclosed => new
2023-01-27 10:40marvintmResolutionfixed => open
2023-01-27 10:40marvintmStatusnew => acknowledged
2023-01-27 10:40marvintmStatusacknowledged => scheduled
2023-01-27 10:40marvintmStatusscheduled => resolved
2023-01-27 10:40marvintmFixed in Version => RR23Q2
2023-01-27 10:40marvintmResolutionopen => fixed
2023-01-27 10:40marvintmReview Assigned To => marvintm
2023-01-27 10:40marvintmStatusresolved => closed

Notes
(0145810)
hgbot   
2023-01-25 06:03   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/121 [^]
(0145845)
hgbot   
2023-01-26 07:50   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.api [^]
Changeset: 249b51a995067fadf0ecaa654c5ee8dd12980c48
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 24-01-2023 20:53:37
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/commit/249b51a995067fadf0ecaa654c5ee8dd12980c48 [^]

Fixed ISSUE-51333: 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
---
(0145846)
hgbot   
2023-01-26 07:50   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/121 [^]