Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0053233 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [POS2] POS | critical | always | 2023-08-17 16:51 | 2023-10-03 08:01 | |||
| Reporter | alfonso_alcalde | View Status | public | |||||
| Assigned To | Rajesh_18 | |||||||
| Priority | urgent | Resolution | no change required | Fixed in Version | ||||
| Status | closed | Fix in branch | Fixed in SCM revision | |||||
| Projection | none | ETA | none | Target Version | ||||
| OS | Linux 64 bit | Database | PostgreSQL | Java version | 7.x | |||
| OS Version | Openbravo Appliance 14.04 | Database version | 9.3.x | Ant version | 1.9.x | |||
| Product Version | SCM revision | |||||||
| Merge Request Status | ||||||||
| Review Assigned To | marvintm | |||||||
| OBNetwork customer | OBPS | |||||||
| Support ticket | ||||||||
| Regression level | ||||||||
| Regression date | ||||||||
| Regression introduced in release | ||||||||
| Regression introduced by commit | ||||||||
| Triggers an Emergency Pack | No | |||||||
| Summary | 0053233: Error Import Business Partner API | |||||||
| Description | Reproduced in live builds. When executing the business partner import method, it always tries to update. When only 1 BP exists, it updates the information of the BP indicated from the json, even if the searchkey is different, adding the location and updating everything except the searchkey. In case there is more than 1, it gives an error in EDL, with the message that it is not unique, and the number of BP existing in the client where you are triying to insert. | |||||||
| Steps To Reproduce | ** 1 existing BP - Select customer with a unique BP, to try to add another BP from API. - Execute org.openbravo.api.ImportService/BusinessPartner service, for the selected customer, with new data (Searchkey, etc). - Check that the existing BP has been updated. **More than 1 existing BP - Select customer with more than 1 BP, to try to add one more BP from API. - Execute org.openbravo.api.ImportService/BusinessPartner service, for the selected customer, with new data (Searchkey, etc). - Error registered in EDL Request, "Error while importing an item: query did not return a unique result: X". X = number of existing BP | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
|
Notes |
|
|
(0153852) marvintm (viewer) 2023-08-23 14:01 |
There is actually no issue, and the problem comes from a wrong usage of the API. The searchKey property is incorrectly specified as "searchkey" in the video, and this is what is causing the problem to happen. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2023-08-17 16:51 | alfonso_alcalde | New Issue | |
| 2023-08-17 16:51 | alfonso_alcalde | Assigned To | => Retail |
| 2023-08-17 16:51 | alfonso_alcalde | File Added: Screencast from 17-08-23 16:47:46.webm | |
| 2023-08-17 16:51 | alfonso_alcalde | OBNetwork customer | => OBPS |
| 2023-08-17 16:51 | alfonso_alcalde | Triggers an Emergency Pack | => No |
| 2023-08-22 12:19 | Rajesh_18 | Assigned To | Retail => Rajesh_18 |
| 2023-08-22 12:20 | Rajesh_18 | Status | new => scheduled |
| 2023-08-23 14:01 | marvintm | Review Assigned To | => marvintm |
| 2023-08-23 14:01 | marvintm | Note Added: 0153852 | |
| 2023-08-23 14:01 | marvintm | Status | scheduled => closed |
| 2023-08-23 14:01 | marvintm | Resolution | open => no change required |
| 2023-10-03 07:59 | alfonso_alcalde | Severity | critical => major |
| 2023-10-03 08:01 | alfonso_alcalde | Severity | major => critical |
| Copyright © 2000 - 2009 MantisBT Group |