Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0052748 | Retail Modules | Retail API | public | 2023-06-15 09:46 | 2023-06-26 07:03 | |||||||
Reporter | ngarcia | |||||||||||
Assigned To | ranjith_qualiantech_com | |||||||||||
Priority | urgent | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | |||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | ||||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0052748: Currently it is not possible to uniquely identify a contact of a business partner | |||||||||||
Description | Currently, it is not possible to uniquely identify a contact of a business partner The contacts of a business partner are created without username, so it is not possible to uniquely identify them | |||||||||||
Steps To Reproduce | Add two contacts with the same first and last name to a business partner Try to import it through JSON Based Import Process EDL Process and check the EDL Request finishes with the following error: Error while importing an item: query did not return a unique result: 2 The log shows: Caused by: org.hibernate.NonUniqueResultException: query did not return a unique result: 2 at org.hibernate.query.internal.AbstractProducedQuery.uniqueElement(AbstractProducedQuery.java:1684) ~[hibernate-core-5.6.0.Final.jar:5.6.0.Final] at org.hibernate.query.internal.AbstractProducedQuery.uniqueResult(AbstractProducedQuery.java:1659) ~[hibernate-core-5.6.0.Final.jar:5.6.0.Final] at org.openbravo.dal.service.OBQuery.uniqueResult(OBQuery.java:100) ~[classes/:?] at org.openbravo.service.external.integration.importer.DalSynchronizableBusinessObjectImporter.getBobFromUniqueProperties(DalSynchronizableBusinessObjectImporter.java:192) ... | |||||||||||
Proposed Solution | Issue changed from Design Defect to Defect as we need to fix the fact that "Last Name" "Name" can not be used to uniquely identify Contacts. The proposal is by now, use the property "Phone" as the parameter to identify a contact uniquely. | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2023-06-15 09:46 | ngarcia | New Issue | ||||||||||
2023-06-15 09:46 | ngarcia | Assigned To | => Triage Platform Conn | |||||||||
2023-06-15 09:46 | ngarcia | Triggers an Emergency Pack | => No | |||||||||
2023-06-15 09:46 | ngarcia | Relationship added | related to 0052562 | |||||||||
2023-06-16 15:14 | psanjuan | Assigned To | Triage Platform Conn => psanjuan | |||||||||
2023-06-16 15:14 | psanjuan | Proposed Solution updated | ||||||||||
2023-06-19 12:01 | psanjuan | Assigned To | psanjuan => Retail | |||||||||
2023-06-19 12:01 | psanjuan | Type | design defect => defect | |||||||||
2023-06-19 12:01 | psanjuan | Proposed Solution updated | ||||||||||
2023-06-19 12:34 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com | |||||||||
2023-06-19 14:57 | ranjith_qualiantech_com | Status | new => scheduled | |||||||||
2023-06-22 06:29 | hgbot | Note Added: 0151467 | ||||||||||
2023-06-26 07:03 | hgbot | Resolution | open => fixed | |||||||||
2023-06-26 07:03 | hgbot | Status | scheduled => closed | |||||||||
2023-06-26 07:03 | hgbot | Note Added: 0151613 | ||||||||||
2023-06-26 07:03 | hgbot | Note Added: 0151614 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|