Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0056349 | Retail Modules | Retail API | public | 2024-09-03 12:20 | 2024-10-01 10:28 |
Reporter | kchoperena | ||||
Assigned To | andrea_lopez | ||||
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 | |||||
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 | 0056349: [Distribution Order API]: IsAutomaticallyIssueStock parameter is kept between sessions | ||||
Description | If a request includes IsAutomaticallyIssueStock=Y at least one time then this configuration is randomly used for other requests that doesn't include this parameter. | ||||
Steps To Reproduce | 1.- Create a distribution order receipt using the back-end 2.- Book it 3.- Using Postman or any REST testing tool send to the Distribution Order API (https://livebuilds.openbravo.com/context/retail_modules_pgsql_pi/api?urls.primaryName=Business%20API%20-%20Transactional%20Data#/DistributionOrder/Import_DistributionOrder [^]) an update for the previously created distribution order issue Example JSON: [ { "organization": "The White Valley Group", "documentNo": "1000112", "isIssue": true, "description": "test", "IsAutomaticallyIssueStock": true, "lines": [ { "lineNo": 10, "product": "DX58ORT-F9913", "qtyConfirmed": 3 } ] } ] 4.- Create another distribution order issue and book it 5.- Update the distribution order issue using the API: [ { "organization": "The White Valley Group", "documentNo": "1000114", "isIssue": true, "description": "test", "lines": [ { "lineNo": 10, "product": "DX58ORT-F9913", "qtyConfirmed": 3 } ] } ] RESULT: The system is trying to automatically issue the distribution order regardless the IsAutomaticallyIssueStock property is not passed in the request. Note that this might be randomly reproduced. | ||||
Proposed Solution | Revise how the IsAutomaticallyIssueStock is passed to ensure only this request can be seen. This might require discussing with the Platform team | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2024-09-03 12:20 | kchoperena | New Issue | |||
2024-09-03 12:20 | kchoperena | Assigned To | => Triage Platform Conn | ||
2024-09-03 12:20 | kchoperena | Triggers an Emergency Pack | => No | ||
2024-09-03 12:31 | vmromanos | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=28400#r28400 | ||
2024-09-03 12:35 | vmromanos | Note Added: 0168694 | |||
2024-09-03 12:53 | kchoperena | Assigned To | Triage Platform Conn => Triage Omni WMS | ||
2024-09-09 09:29 | mtaal | Assigned To | Triage Omni WMS => andrea_lopez | ||
2024-09-26 12:54 | hgbot | Note Added: 0169637 | |||
2024-10-01 10:28 | hgbot | Resolution | open => fixed | ||
2024-10-01 10:28 | hgbot | Status | new => closed | ||
2024-10-01 10:28 | hgbot | Note Added: 0169819 | |||
2024-10-01 10:28 | hgbot | Note Added: 0169820 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|