Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0030809 | Retail Modules | Web POS | public | 2015-09-09 18:52 | 2015-12-17 15:19 |
|
Reporter | marvintm | |
Assigned To | jorge-garcia | |
Priority | high | Severity | major | Reproducibility | sometimes |
Status | closed | Resolution | no change required | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | RR16Q1 | |
Merge Request Status | |
Review Assigned To | Orekaria |
OBNetwork customer | |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0030809: CalculateGross functionality may be called several times in parallel |
Description | Currently in the Web POS there are several actions which may trigger the "calculateGross" functionality, which computes taxes and gross/net values of each line and the receipt.
This functionality is asynchronous, and should protect itself so that no more than one execution is happening in parallel, to prevent potential data corruption and performance problems. However, this is currently not the case. |
Steps To Reproduce | - In the Web POS, add a product
- Click on the line, and click on the "+" button many times in quick succession. Verify that the browser slows down quite a bit, and that there are multiple executions of the calculateTaxes functionality running in parallel. This should not happen. |
Proposed Solution | The calculateGross function should control whether there is an execution currently running, and should start a new execution if a call happened while the previous one was running. |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0030771 | RR16Q1 | closed | jorge-garcia | CalculateTaxes should not be executed when the receipt is being closed |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2015-09-09 18:52 | marvintm | New Issue | |
2015-09-09 18:52 | marvintm | Assigned To | => Retail |
2015-09-09 18:52 | marvintm | Triggers an Emergency Pack | => No |
2015-09-09 18:53 | Orekaria | Relationship added | related to 0030771 |
2015-11-24 12:40 | jorge-garcia | Assigned To | Retail => jorge-garcia |
2015-11-24 12:40 | jorge-garcia | Status | new => acknowledged |
2015-12-04 13:55 | Orekaria | Status | acknowledged => scheduled |
2015-12-17 15:19 | Orekaria | Review Assigned To | => Orekaria |
2015-12-17 15:19 | Orekaria | Note Added: 0082832 | |
2015-12-17 15:19 | Orekaria | Status | scheduled => closed |
2015-12-17 15:19 | Orekaria | Resolution | open => no change required |
2015-12-17 15:19 | Orekaria | Fixed in Version | => RR16Q1 |