Openbravo Issue Tracking System - Retail Modules
View Issue Details
0038385Retail ModulesWeb POSpublic2018-02-05 12:042018-04-18 11:15
marvintm 
Retail 
urgentmajoralways
closedfixed 
5
 
RR18Q2RR18Q2 
marvintm
Production - QA Approved
2017-11-22
RR18Q1
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a2186d120ffa [^]
No
0038385: Concurrency check in the OrderLoader doesn't work anymore after changes for Modify Ticket infrastructure
Currently the concurrency check in the OrderLoader doesn't work anymore after changes done to the concurrency check code itself. These changes came from the Modify Ticket infrastructure project.
- Create a layaway in the WebPOS.
- Log in two terminals at the same time. Load the layaway in both.
- Pay the layaway fully in one terminal.
- Pay the layaway fully in the second one.
- Go to errors while importing. Notice that the second one failed, but not because of the concurrency check. If you debug in Eclipse, you will notice that the check is currently not executed.
The check should be executed when using modify ticket, but also if the ticket already exists in general.
No tags attached.
blocks defect 0037830 closed jorge-garcia Concurrency check in the OrderLoader doesn't work anymore after changes for Modify Ticket infrastructure 
Issue History
2018-04-17 09:04marvintmTypedefect => backport
2018-04-17 09:04marvintmTarget Version => RR18Q2
2018-04-17 12:29hgbotCheckin
2018-04-17 12:29hgbotNote Added: 0103932
2018-04-17 12:29hgbotStatusscheduled => resolved
2018-04-17 12:29hgbotResolutionopen => fixed
2018-04-17 12:29hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR18Q2/org.openbravo.retail.posterminal/rev/f361e17ea2f4edbce9caadf91c5a9afb572bd866 [^]
2018-04-18 11:15marvintmReview Assigned To => marvintm
2018-04-18 11:15marvintmStatusresolved => closed
2018-04-18 11:15marvintmFixed in Version => RR18Q2

Notes
(0103932)
hgbot   
2018-04-17 12:29   
Repository: retail/backports/3.0RR18Q2/org.openbravo.retail.posterminal
Changeset: f361e17ea2f4edbce9caadf91c5a9afb572bd866
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Apr 17 12:27:57 2018 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR18Q2/org.openbravo.retail.posterminal/rev/f361e17ea2f4edbce9caadf91c5a9afb572bd866 [^]

Fixed issue 38385: Concurrency check in the OrderLoader doesn't work anymore
after changes for Modify Ticket infrastructure

The solution is to do a outdated check always, not only for modified tickets.

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
---