Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0057875 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Loyalty Programs for Web POS | major | always | 2025-02-05 13:46 | 2025-02-20 06:51 | |||
Reporter | ivazquez | View Status | public | |||||
Assigned To | ivazquez | |||||||
Priority | high | Resolution | no change required | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | pi | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | SCM revision | ||||||
Review Assigned To | guillermogil | |||||||
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 [^] | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|
![]() |
|||
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 |
Copyright © 2000 - 2009 MantisBT Group |