Openbravo Issue Tracking System - Modules | |||||||||||||
View Issue Details | |||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0051442 | Modules | Openbravo Business API | public | 2023-01-23 13:38 | 2023-01-26 09:13 | ||||||||
Reporter | jorge-garcia | ||||||||||||
Assigned To | jorge-garcia | ||||||||||||
Priority | normal | Severity | major | Reproducibility | sometimes | ||||||||
Status | closed | Resolution | fixed | ||||||||||
Platform | OS | 5 | OS Version | ||||||||||
Product Version | |||||||||||||
Target Version | Fixed in Version | ||||||||||||
Merge Request Status | |||||||||||||
Regression date | |||||||||||||
Regression introduced by commit | |||||||||||||
Regression level | |||||||||||||
Review Assigned To | |||||||||||||
Support ticket | |||||||||||||
OBNetwork customer | |||||||||||||
Regression introduced in release | |||||||||||||
Summary | 0051442: Throw better error messages when importing a physical inventory through the API | ||||||||||||
Description | As of now, if a "/ws/org.openbravo.api.ImportService/Inventory" request fails for any reason, this message is shown: "Error while importing an item: null" It is required to improve this message to indicate what is the actual error that occurs during the import process. | ||||||||||||
Steps To Reproduce | 1) Use this JSON body in Postman for "{{base_url}}/ws/org.openbravo.api.ImportService/Inventory" POST request: [ { "client": "The White Valley Group", "organization": "Vall Blanca Store", "warehouse": "VBS/001", "date": "2022-04-21", "name": "2022-04-21", "description": "2022-04-21", "lines": [ { "bin": "VBS/001 0-0-0", "product": "cacatua", "qty": 70, "uOM": "Unit" }, { "bin": "VBS/001 0-0-0", "product": "WVG/B0017", "qty": 10, "uOM": "Unit" } ] } ] 2) Login in the ERP 3) Navigate to EDL Request 4) Search for last record created in error status 5) In Request Line, verify Error Message is "Error while importing an item: null" (this is wrong) | ||||||||||||
Proposed Solution | |||||||||||||
Additional Information | |||||||||||||
Tags | No tags attached. | ||||||||||||
Relationships |
| ||||||||||||
Attached Files | |||||||||||||
Issue History | |||||||||||||
Date Modified | Username | Field | Change | ||||||||||
2023-01-23 13:38 | jorge-garcia | New Issue | |||||||||||
2023-01-23 13:38 | jorge-garcia | Assigned To | => jorge-garcia | ||||||||||
2023-01-23 13:40 | jorge-garcia | Note Added: 0145750 | |||||||||||
2023-01-23 13:40 | jorge-garcia | Summary | RM2362 Throw better error messages when importing a physical inventory through the API => Throw better error messages when importing a physical inventory through the API | ||||||||||
2023-01-23 13:42 | jorge-garcia | Status | new => scheduled | ||||||||||
2023-01-23 14:39 | hgbot | Note Added: 0145764 | |||||||||||
2023-01-24 13:21 | rafaroda | Relationship added | has duplicate 0051037 | ||||||||||
2023-01-25 14:59 | hgbot | Note Added: 0145838 | |||||||||||
2023-01-26 08:29 | hgbot | Resolution | open => fixed | ||||||||||
2023-01-26 08:29 | hgbot | Status | scheduled => closed | ||||||||||
2023-01-26 08:29 | hgbot | Note Added: 0145849 | |||||||||||
2023-01-26 08:29 | hgbot | Note Added: 0145850 | |||||||||||
2023-01-26 09:13 | hgbot | Note Added: 0145852 | |||||||||||
2023-01-26 09:13 | hgbot | Note Added: 0145853 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|