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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0032882
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSmajorsometimes2016-04-11 18:122016-06-07 18:10
ReporterlorenzofidalgoView Statuspublic 
Assigned Tojorge-garcia 
PriorityimmediateResolutionfixedFixed in VersionRR16Q2
StatusclosedFix in branchFixed in SCM revisionfa62d9f6f21c
ProjectionnoneETAnoneTarget VersionRR16Q2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionmainSCM revision 
Review Assigned Toguilleaer
Regression levelPackaging and release
Regression date
Regression introduced in releasemain
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0032882: [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 Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0032649 closedjorge-garcia [RR16Q2] Add products and create new receipts quickly induces severe failures in Web POS 

-  Notes
(0086960)
hgbot (developer)
2016-06-02 20:20

Repository: retail/backports/3.0RR16Q2/org.openbravo.retail.posterminal
Changeset: fa62d9f6f21c01e6772810aff1416bee3218320b
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Thu Jun 02 20:20:19 2016 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR16Q2/org.openbravo.retail.posterminal/rev/fa62d9f6f21c01e6772810aff1416bee3218320b [^]

Fixed issue 32882: 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
---

- Issue History
Date Modified Username Field Change
2016-05-06 10:30 Orekaria Type defect => backport
2016-05-06 10:30 Orekaria Target Version => RR16Q2
2016-06-02 20:20 hgbot Checkin
2016-06-02 20:20 hgbot Note Added: 0086960
2016-06-02 20:20 hgbot Status scheduled => resolved
2016-06-02 20:20 hgbot Resolution open => fixed
2016-06-02 20:20 hgbot Fixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR16Q2/org.openbravo.retail.posterminal/rev/fa62d9f6f21c01e6772810aff1416bee3218320b [^]
2016-06-07 18:10 guilleaer Review Assigned To => guilleaer
2016-06-07 18:10 guilleaer Status resolved => closed
2016-06-07 18:10 guilleaer Fixed in Version => RR16Q2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker