Openbravo Issue Tracking System - Retail Modules
View Issue Details
0032070Retail ModulesWeb POSpublic2016-02-01 11:522016-02-18 12:55
aaroncalero 
aaroncalero 
normalminoralways
closedfixed 
5
 
RR16Q2 
marvintm
No
0032070: The HasServices process should block the Pay button
When the Remote preference for products is configured, the process in charge of deciding if a product has services or not (HasServices.java) is not blocking the total amount button, thus allowing to continue paying a ticket before the process finishes.
This generates errors in automated tests if the application is refreshed after finishing a test.
Enable the remote preference for products.
Put a breakpoint/debugger on the HasServices process.
Search a product in web pos.
Verify that even if the process is stopped debugging, it is possible to continue paying the ticket.
Reload the application and verify that javascript errors are shown.
Use the SynchronizationHelper to block the Total Amount/Pay button while the process is being executed.
No tags attached.
related to defect 0032415RR16Q2 closed aaroncalero [Services] Asynchronous processes can corrupt receipt data 
Issue History
2016-02-01 11:52aaroncaleroNew Issue
2016-02-01 11:52aaroncaleroAssigned To => aaroncalero
2016-02-01 11:52aaroncaleroTriggers an Emergency Pack => No
2016-02-02 15:28hgbotCheckin
2016-02-02 15:28hgbotNote Added: 0083856
2016-02-02 15:28hgbotStatusnew => resolved
2016-02-02 15:28hgbotResolutionopen => fixed
2016-02-02 15:28hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/eebba8f6014d80e3ae60feab2fd857b59e09ca9c [^]
2016-02-10 09:15aaroncaleroReview Assigned To => marvintm
2016-02-16 12:25dmitry_mezentsevNote Added: 0084239
2016-02-18 12:55marvintmStatusresolved => closed
2016-02-18 12:55marvintmFixed in Version => RR16Q2
2016-03-07 12:12aaroncaleroRelationship addedrelated to 0032415

Notes
(0083856)
hgbot   
2016-02-02 15:28   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: eebba8f6014d80e3ae60feab2fd857b59e09ca9c
Author: Aaron Calero <aaron.calero <at> openbravo.com>
Date: Mon Feb 01 13:59:34 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/eebba8f6014d80e3ae60feab2fd857b59e09ca9c [^]

Fixed issue 32070: The HasServices process should block the Pay button

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0084239)
dmitry_mezentsev   
2016-02-16 12:25   
Not closed for 14 days!