Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSmajorhave not tried2019-01-15 12:432019-03-05 17:35
ReporterasiermartirenaView Statuspublic 
Assigned Toranjith_qualiantech_com 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision6c33f298453e
ProjectionnoneETAnoneTarget VersionRR19Q1
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tojorge-garcia
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo

0040112: The callbacks of a calculateReceipt are executed with the calculateReceipt process set

DescriptionWhen the callbacks of a calculate receipt are executed, those executions are made with the process controller of the calculateReceipt set. The process should finish and them the callbacks should be called.

This also occurred for the calculatingReceipt property.

Those properties should be set before calling to the callbacks, copying the calculateReceiptCallbacks to a new array and unsetting it. In this way, if one of the callbacks executes the calculate receipt when all the callbacks haven't been executed, those new callbacks won't be set to the same array.
Steps To ReproduceAdd a line in the Web POS and debug the code.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0039950 closedranjith_qualiantech_com The callbacks of a calculateReceipt are executed with the calculateReceipt process set 

-  Notes
hgbot (developer)
2019-02-12 12:23

Repository: retail/backports/3.0RR19Q1/org.openbravo.retail.posterminal
Changeset: 6c33f298453eeff85a9b546730332e4065240501
Author: Ranjith S R <ranjith <at>>
Date: Tue Feb 12 16:52:31 2019 +0530
URL: [^]

Fixed issue 40112 : Changes in calculateReceipt callback functions

* If calculateReceipt is presents inside callback of calculateReceipt, callback should be called when the calculateReceipt process is completed

M web/org.openbravo.retail.posterminal/js/model/order.js
jorge-garcia (developer)
2019-03-05 17:35

Code reviewed and tested

- Issue History
Date Modified Username Field Change
2019-02-04 09:16 marvintm Type defect => backport
2019-02-04 09:16 marvintm Target Version => RR19Q1
2019-02-12 12:23 hgbot Checkin
2019-02-12 12:23 hgbot Note Added: 0109704
2019-02-12 12:23 hgbot Status scheduled => resolved
2019-02-12 12:23 hgbot Resolution open => fixed
2019-02-12 12:23 hgbot Fixed in SCM revision [^] => [^]
2019-03-05 17:35 jorge-garcia Review Assigned To => jorge-garcia
2019-03-05 17:35 jorge-garcia Note Added: 0110239
2019-03-05 17:35 jorge-garcia Status resolved => closed

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker