Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0032649
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorsometimes2016-04-11 18:122016-05-17 17:48
ReporterlorenzofidalgoView Statuspublic 
Assigned Tojorge-garcia 
PriorityimmediateResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision9d1a0eceb8bf
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionmainSCM revision 
Review Assigned Tomigueldejuana
Regression levelPackaging and release
Regression date
Regression introduced in releasemain
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0032649: [RR16Q2] Add products and create new receipts quickly induces severe failures in Web POS

DescriptionCreate quickly new receipts adding products to them induces problems in Web POS. Check log and attached video.

Installed modules:
--
Core - 3.0.28839 - English (USA)
Gift cards and vouchers - 1.2.102 - English (USA)
Openbravo 3.0 - 3.0.28839 - English (USA)
Openbravo for Retail - 1.8.1900 - English (USA)
Openbravo Multi Business Partner Selector - 1.0.9 - English (USA)
Retail Sampledata - 1.0.1500 - English (USA)
--
Video that shows this issue:
https://drive.google.com/open?id=0Bz1bUfkEffVIOFRvZ3NURUZ1V1E [^]
Steps To Reproduce0-Login POS as vallblanca.
AAA
1-Add 1x any product.
2-Click create new receipt button.
BBB
3-Repeat from AAA to BBB many times (12 times for instance) and quickly (try to choose different products)
4-Click in the receipts list to select one of them.
5-Now, check the previously created receipts and choose one of them with a product and 0.00 amount. Click on it to see the receipt.
6-Realise that Amount is not correct. Click delete receipt button. Error appears.
TagsNo tags attached.
Attached Filespng file icon FastReceiptCreatingInducesFailures.png [^] (118,501 bytes) 2016-04-11 18:12


? file icon ErrorLog [^] (3,594 bytes) 2016-04-11 18:13 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0032882RR16Q2 closedjorge-garcia [RR16Q2] Add products and create new receipts quickly induces severe failures in Web POS 
has duplicate defect 0035056 closedRetail Ticket with total zero although it has lines when a new ticket is created very fast after adding lines to the first one 

-  Notes
(0086298)
hgbot (developer)
2016-05-09 08:47

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 9d1a0eceb8bfc2ec2e82e632027e4042dfa0c458
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue May 03 17:32:22 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/9d1a0eceb8bfc2ec2e82e632027e4042dfa0c458 [^]

Fixed issue 32649: Add products and create new receipts quickly induces
severe failures in Web POS

The proble is that the calculateReceipt function gets stuck in the execution if
a new ticket is created in the middle of the process.

The solution is to disable also the new and delete button from the point of sale
window during the execution if the calculateReceipt fucntion.

To achieve this, one new synchronizationHelper has been created
(calculateReceipt) and two of them have been deleted (applyPromotions and
calculateGross).

---
M web/org.openbravo.retail.posterminal/js/model/discounts.js
M web/org.openbravo.retail.posterminal/js/model/order.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/toolbar-left.js
---
(0086299)
hgbot (developer)
2016-05-09 08:52

Repository: tools/automation/pi-mobile
Changeset: 55977a1deafdad358b12625374d102c11e72aa33
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon May 09 08:51:55 2016 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/55977a1deafdad358b12625374d102c11e72aa33 [^]

Verifies issue 32649:Add products and create new receipts quickly induces
severe failures in Web POS

Added test I32649_AddNewReceiptsQuickly.

---
A src-test/org/openbravo/test/mobile/quarantine/pack/JGA/sales/I32649_AddNewReceiptsQuickly.java
---
(0086504)
migueldejuana (developer)
2016-05-17 17:48

Tested and reviewed in ec98fed2ca51

- Issue History
Date Modified Username Field Change
2016-04-11 18:12 lorenzofidalgo New Issue
2016-04-11 18:12 lorenzofidalgo Assigned To => Retail
2016-04-11 18:12 lorenzofidalgo File Added: FastReceiptCreatingInducesFailures.png
2016-04-11 18:12 lorenzofidalgo Regression level => Packaging and release
2016-04-11 18:12 lorenzofidalgo Regression introduced in release => main
2016-04-11 18:12 lorenzofidalgo Triggers an Emergency Pack => No
2016-04-11 18:13 lorenzofidalgo File Added: ErrorLog
2016-04-12 18:28 Orekaria Status new => acknowledged
2016-04-28 17:54 jorge-garcia Status acknowledged => scheduled
2016-04-28 17:54 jorge-garcia Assigned To Retail => jorge-garcia
2016-05-06 10:30 Orekaria Status scheduled => acknowledged
2016-05-06 10:30 Orekaria Status acknowledged => scheduled
2016-05-09 08:47 hgbot Checkin
2016-05-09 08:47 hgbot Note Added: 0086298
2016-05-09 08:47 hgbot Status scheduled => resolved
2016-05-09 08:47 hgbot Resolution open => fixed
2016-05-09 08:47 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/9d1a0eceb8bfc2ec2e82e632027e4042dfa0c458 [^]
2016-05-09 08:52 hgbot Checkin
2016-05-09 08:52 hgbot Note Added: 0086299
2016-05-17 17:48 migueldejuana Review Assigned To => migueldejuana
2016-05-17 17:48 migueldejuana Note Added: 0086504
2016-05-17 17:48 migueldejuana Status resolved => closed
2017-01-26 10:10 marvintm Relationship added has duplicate 0035056


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker