Openbravo Issue Tracking System - Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0053914 | Modules | Open API | public | 2023-11-10 23:30 | 2024-01-02 12:45 |
Reporter | ivazquez | ||||
Assigned To | Rajesh_18 | ||||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Merge Request Status | approved | ||||
Regression date | |||||
Regression introduced by commit | |||||
Regression level | |||||
Review Assigned To | |||||
Support ticket | |||||
OBNetwork customer | Gold | ||||
Regression introduced in release | |||||
Summary | 0053914: API Product Error Message not very descriptive | ||||
Description | When you try to update a product through the API and in the JSON you send you set an Assortment that does not exist in the back office, the error message is very nondescript and makes the customer have to resort to Support to fix the problem. | ||||
Steps To Reproduce | http://localhost:8080/openbravo/ws/org.openbravo.api.ImportService/Product [^] Make the API call and in the JSON request, add an Assortment that does not exist in the back office. In the EDL Request line we will get an error like the following: Error while importing an item: Error applying import product java property mapping | ||||
Proposed Solution | RetailApiImportProductJavaPropertyMappingHandler.java In the method setPropertyInImportedObject we have a Try and Catch block. In the throw new OBException made the following change: From: throw new OBException( "Error applying import product java property mapping", ex); To: throw new OBException( "Error applying import product java property mapping " + ex.getMessage(), ex); | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2023-11-10 23:30 | ivazquez | New Issue | |||
2023-11-10 23:30 | ivazquez | Assigned To | => Triage Platform Conn | ||
2023-11-10 23:30 | ivazquez | OBNetwork customer | => Gold | ||
2023-11-13 09:30 | marvintm | Assigned To | Triage Platform Conn => Retail | ||
2023-12-05 12:42 | Rajesh_18 | Assigned To | Retail => Rajesh_18 | ||
2023-12-05 12:42 | Rajesh_18 | Status | new => scheduled | ||
2023-12-06 14:46 | hgbot | Merge Request Status | => open | ||
2023-12-06 14:46 | hgbot | Note Added: 0157983 | |||
2024-01-02 12:42 | hgbot | Merge Request Status | open => approved | ||
2024-01-02 12:45 | hgbot | Resolution | open => fixed | ||
2024-01-02 12:45 | hgbot | Status | scheduled => closed | ||
2024-01-02 12:45 | hgbot | Note Added: 0158761 | |||
2024-01-02 12:45 | hgbot | Note Added: 0158762 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|