Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0055778 | Retail Modules | [Modules] Openbravo Business API | public | 2024-06-14 19:37 | 2024-09-03 07:56 |
|
Reporter | ivazquez | |
Assigned To | sreehari | |
Priority | high | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | RR24Q4 | |
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 | 0055778: Update Alternative UOM Product |
Description | If you try in a single request to deactivate an existing UOM and create another one that has the same settings but changes the name and rate, the resulting EDL request will have the following error:
ERROR org.openbravo.retail.api.mappings.product.RetailApiImportProductJavaPropertyMappingHandler - Error while updating AlternateUOM for product 457E17BB12C64F2994B036AD3CAE2383
Tested in this live build:
https://livebuilds.openbravo.com/context/retail_pos2_modules_pgsql/security/Login [^]
Using the following API:
/ws/org.openbravo.api.ImportService/Product |
Steps To Reproduce | -Search for a product (or create one) that does not have an Alternative UOM.
-Execute the API to create this alternative UOM and verify that it has been created correctly.
-Execute again the API but in the JSON of the alternativeUOM add the parameter "active": false
-Verify in the back office that it has been deactivated correctly.
-Change in the request the name and conversion rate of the alternativeUOM, in order to create a new one with a different name and rate but with the same parameters in the other fields (obviously removing the "active" parameter: false).
-You will see that nothing was updated and in the EDL Request window you will have the EDL generated by this request in error status.
Attached is a video demonstrating the problem |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0053935 | | closed | Rajesh_18 | Modules | Update UOM product |
|
Attached Files | problemalternativeuomtworequests.mp4 (2,054,975) 2024-06-14 19:37 https://issues.openbravo.com/file_download.php?file_id=19918&type=bug Payload 2 (1,351) 2024-06-25 07:34 https://issues.openbravo.com/file_download.php?file_id=19935&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2024-06-14 19:37 | ivazquez | New Issue | |
2024-06-14 19:37 | ivazquez | Assigned To | => Triage Platform Conn |
2024-06-14 19:37 | ivazquez | File Added: problemalternativeuomtworequests.mp4 | |
2024-06-14 19:37 | ivazquez | Relationship added | depends on 0053935 |
2024-06-14 19:37 | ivazquez | Relationship deleted | depends on 0053935 |
2024-06-14 19:38 | ivazquez | Relationship added | related to 0053935 |
2024-06-19 07:34 | marvintm | Assigned To | Triage Platform Conn => Retail |
2024-06-19 07:34 | marvintm | Status | new => acknowledged |
2024-06-20 11:56 | sreehari | Assigned To | Retail => sreehari |
2024-06-20 11:56 | sreehari | Status | acknowledged => scheduled |
2024-06-24 07:02 | sreehari | Note Added: 0166220 | |
2024-06-25 07:34 | sreehari | File Added: Payload 2 | |
2024-06-25 08:38 | egoitz | Severity | major => minor |
2024-06-26 05:48 | sreehari | Note Added: 0166326 | |
2024-06-26 11:34 | hgbot | Note Added: 0166363 | |
2024-08-30 19:52 | ivazquez | Note Added: 0168613 | |
2024-09-02 16:45 | marvintm | Project | Modules => Retail Modules |
2024-09-03 07:53 | marvintm | Note Added: 0168664 | |
2024-09-03 07:55 | hgbot | Note Added: 0168666 | |
2024-09-03 07:55 | hgbot | Resolution | open => fixed |
2024-09-03 07:55 | hgbot | Status | scheduled => closed |
2024-09-03 07:55 | hgbot | Note Added: 0168667 | |
2024-09-03 07:56 | marvintm | Note Added: 0168668 | |
2024-09-03 07:56 | marvintm | Status | closed => resolved |
2024-09-03 07:56 | marvintm | Fixed in Version | => RR24Q4 |
2024-09-03 07:56 | marvintm | Status | resolved => closed |
Notes |
|
|
EDL generated by request is due to the not the uom that is not available in the list of UOM defined, when the defined UOM is sent in the request the issue no longer exists. |
|
|
|
When sending request with multiple AUOM with first UOM active=false, then we have EDL error. |
|
|
(0166363)
|
hgbot
|
2024-06-26 11:34
|
|
|
|
|
Hello Team,
Any News?
Regards,
Ignacio Vazquez |
|
|
|
|
|
(0168666)
|
hgbot
|
2024-09-03 07:55
|
|
|
|
(0168667)
|
hgbot
|
2024-09-03 07:55
|
|
|
|
|
Checked that before fix, issue was reproducible (created product with alternate uom, then requested update with previous alternate uom disabled, and new uom -> failed)
Tested that initial creation of product with alternate works after fix
Tested that reproduced problem is no longer happening (requested update with previous alternate uom disabled, and new uom -> worked correctly)
Tested that duplicated alternate uoms still returns error |
|