Openbravo Issue Tracking System - Retail Modules
View Issue Details
0030809Retail ModulesWeb POSpublic2015-09-09 18:522015-12-17 15:19
marvintm 
jorge-garcia 
highmajorsometimes
closedno change required 
5
 
RR16Q1 
Orekaria
No
0030809: CalculateGross functionality may be called several times in parallel
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.
- 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.
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.
No tags attached.
related to defect 0030771RR16Q1 closed jorge-garcia CalculateTaxes should not be executed when the receipt is being closed 
Issue History
2015-09-09 18:52marvintmNew Issue
2015-09-09 18:52marvintmAssigned To => Retail
2015-09-09 18:52marvintmTriggers an Emergency Pack => No
2015-09-09 18:53OrekariaRelationship addedrelated to 0030771
2015-11-24 12:40jorge-garciaAssigned ToRetail => jorge-garcia
2015-11-24 12:40jorge-garciaStatusnew => acknowledged
2015-12-04 13:55OrekariaStatusacknowledged => scheduled
2015-12-17 15:19OrekariaReview Assigned To => Orekaria
2015-12-17 15:19OrekariaNote Added: 0082832
2015-12-17 15:19OrekariaStatusscheduled => closed
2015-12-17 15:19OrekariaResolutionopen => no change required
2015-12-17 15:19OrekariaFixed in Version => RR16Q1

Notes
(0082832)
Orekaria   
2015-12-17 15:19   
Fixed with the changesets in the issue 30771