Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0057875 | Retail Modules | Loyalty Programs for Web POS | public | 2025-02-05 13:46 | 2025-02-20 06:51 |
Reporter | ivazquez | ||||
Assigned To | ivazquez | ||||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | OS | 5 | OS Version | ||
Product Version | pi | ||||
Target Version | pi | Fixed in Version | |||
Merge Request Status | |||||
Review Assigned To | guillermogil | ||||
OBNetwork customer | |||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0057875: Error in the calculation of total points when several API calls are made at the same time. | ||||
Description | If through the API, we make several calls to add and subtract points to a business partner, and these EDL Requests that are created have the same Execution Date (which means that they were executed at the same time and not staggered as it should happen, leaving two seconds of difference between one and another), the calculation in the total points of this business partner will be incorrect. | ||||
Steps To Reproduce | -Create a Loyalty Program -Through the POS, create a business partner and add it to the loyalty program. Now, from the API, make two simultaneous calls, one adding and one subtracting points. The idea is that the EDL Requests are executed at the same time, that is where the problem is reproduced. The API used is the following: /ws/org.openbravo.retail.api.ImportService/Subscription. Then, compare the total points with the sum of the earned points and you will see that they differ. Video reproducing the issue in livebuilds: https://drive.google.com/file/d/1Uy2ADNArjlBzMEoGlnhRQ7CFw7sMxlxr/view?usp=sharing [^] | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=20854&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2025-02-05 13:46 | ivazquez | New Issue | |||
2025-02-05 13:46 | ivazquez | Assigned To | => Retail | ||
2025-02-05 13:46 | ivazquez | File Added: 600bbb01-4594-4ba0-9002-1f610a95e1cc.jpeg | |||
2025-02-05 13:46 | ivazquez | Triggers an Emergency Pack | => No | ||
2025-02-07 06:44 | guillermogil | Assigned To | Retail => ivazquez | ||
2025-02-07 06:44 | guillermogil | Status | new => acknowledged | ||
2025-02-20 06:51 | guillermogil | Status | acknowledged => scheduled | ||
2025-02-20 06:51 | guillermogil | Review Assigned To | => guillermogil | ||
2025-02-20 06:51 | guillermogil | Status | scheduled => closed | ||
2025-02-20 06:51 | guillermogil | Resolution | open => no change required |
There are no notes attached to this issue. |