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

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

0051333: 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 Filestxt file icon Bpstacktrace.txt [^] (4,560 bytes) 2023-01-11 16:00 [Show Content]
txt file icon bperror.txt [^] (1,310 bytes) 2023-01-11 16:09 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0051478RR23Q1 closedranjith_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 closedranjith_qualiantech_com BP API -Wehen we create BP If we have two greetings with same name (different org) an error happen 

-  Notes
(0145810)
hgbot (developer)
2023-01-25 06:03

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/121 [^]
(0145845)
hgbot (developer)
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 (developer)
2023-01-26 07:50

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

- Issue History
Date Modified Username Field Change
2023-01-11 16:00 nicola_uva New Issue
2023-01-11 16:00 nicola_uva Assigned To => caristu
2023-01-11 16:00 nicola_uva File Added: Bpstacktrace.txt
2023-01-11 16:00 nicola_uva Triggers an Emergency Pack => No
2023-01-11 16:09 nicola_uva File Added: bperror.txt
2023-01-11 16:12 nicola_uva Assigned To caristu => Triage Omni OMS
2023-01-11 16:27 aferraz Assigned To Triage Omni OMS => Retail
2023-01-12 11:46 nicola_uva Priority normal => urgent
2023-01-18 21:31 nicola_uva Description Updated View Revisions
2023-01-19 06:18 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2023-01-19 06:21 ranjith_qualiantech_com Status new => scheduled
2023-01-25 06:03 hgbot Note Added: 0145810
2023-01-26 07:50 hgbot Resolution open => fixed
2023-01-26 07:50 hgbot Status scheduled => closed
2023-01-26 07:50 hgbot Note Added: 0145845
2023-01-26 07:50 hgbot Note Added: 0145846
2023-01-27 10:40 marvintm Status closed => new
2023-01-27 10:40 marvintm Resolution fixed => open
2023-01-27 10:40 marvintm Status new => acknowledged
2023-01-27 10:40 marvintm Status acknowledged => scheduled
2023-01-27 10:40 marvintm Status scheduled => resolved
2023-01-27 10:40 marvintm Fixed in Version => RR23Q2
2023-01-27 10:40 marvintm Resolution open => fixed
2023-01-27 10:40 marvintm Review Assigned To => marvintm
2023-01-27 10:40 marvintm Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker