Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0046532 | Retail Modules | Web POS | public | 2021-05-06 08:38 | 2021-05-11 08:24 |
|
Reporter | marvintm | |
Assigned To | ranjith_qualiantech_com | |
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | RR21Q1.2 | Fixed in Version | RR21Q1.2 | |
Merge Request Status | approved |
Review Assigned To | |
OBNetwork customer | Gold |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0046532: Cancel and replace fails when used from ExternalOrderLoader |
Description | ExternalOrderLoader can be used to Cancel&Replace an order after it was implemented in the following issue:
https://issues.openbravo.com/view.php?id=45423 [^]
However, it currently fails if used because of an "OutDatedDataChangeException" error. This error happens because in C&R the canceledorder needs to be specified, but then the concurrency modification check is performed. This problem is avoided in the Cancel order flow because there the check is disabled. The same thing should be done for the C&R flow |
Steps To Reproduce | Download the postman from the Retail API repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api/-/blob/master/examples/Retail%20API.postman_collection.json [^]
Execute the "Import Order - Order with consistent id (to C&R later)" request (in Order folder). An order will be created in the backend.
Execute the "Import Order - Order cancel and replace" request (in Order folder). Verify that it fails with OutDatedDataChangeException exception. |
Proposed Solution | The disableConcurrencyCheck method should also be called in the C&R flow. |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2021-05-06 08:39 | marvintm | Type | defect => backport |
2021-05-06 08:39 | marvintm | Target Version | => RR21Q1.2 |
2021-05-06 11:54 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2021-05-10 15:27 | hgbot | Merge Request Status | => open |
2021-05-10 15:27 | hgbot | Note Added: 0127949 | |
2021-05-10 16:10 | hgbot | Merge Request Status | open => approved |
2021-05-10 16:10 | hgbot | Resolution | open => fixed |
2021-05-10 16:10 | hgbot | Status | scheduled => closed |
2021-05-10 16:10 | hgbot | Note Added: 0127957 | |
2021-05-10 16:10 | hgbot | Fixed in Version | => RR21Q1.2 |
2021-05-10 16:10 | hgbot | Note Added: 0127958 | |
2021-05-10 18:25 | marvintm | Status | closed => new |
2021-05-10 18:25 | marvintm | Resolution | fixed => open |
2021-05-10 18:25 | marvintm | Fixed in Version | RR21Q1.2 => |
2021-05-11 08:14 | hgbot | Note Added: 0127973 | |
2021-05-11 08:21 | ranjith_qualiantech_com | Status | new => scheduled |
2021-05-11 08:24 | hgbot | Resolution | open => fixed |
2021-05-11 08:24 | hgbot | Status | scheduled => closed |
2021-05-11 08:24 | hgbot | Note Added: 0127977 | |
2021-05-11 08:24 | hgbot | Fixed in Version | => RR21Q1.2 |
2021-05-11 08:24 | hgbot | Note Added: 0127978 | |