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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0036711
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Layaway ordermajorsometimes2017-08-24 12:302017-09-08 15:10
ReporterairaceburuView Statuspublic 
Assigned Toranjith_qualiantech_com 
PrioritynormalResolutionfixedFixed in VersionRR17Q4
StatusclosedFix in branchFixed in SCM revisionb3ce316b046f
ProjectionnoneETAnoneTarget Versionpi
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0036711: Void layaway template can be printed without lines

DescriptionIn receipt.on('voidLayaway'... receipt.trigger('print') is called and just after orderList.deleteCurrent() is called.

If there is asynchrony in the fist call the second call can remove attributes that those asynchronous threads need. In that case the receipt object, once in the hardware manager will not have its lines, attributes... and therefore the printing will be wrong
Steps To ReproduceImplement the preprint hook with asynchronous calls and some delay. Try to void a layaway and realize that it has no lines
Proposed SolutionThe auxReceipt object is not being used. Probably using it fixes this
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0098828)
hgbot (developer)
2017-09-05 12:28

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: b3ce316b046faf5de84f1c1cf650b7ff65058ef4
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Sep 05 15:57:49 2017 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b3ce316b046faf5de84f1c1cf650b7ff65058ef4 [^]

Fixed issue 36711 : Validate receipt before print

* Receipt should be cloned before preprint hook in order to avoid the loss of receipt data in preprint asynchronous hook call

---
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-print.js
---

- Issue History
Date Modified Username Field Change
2017-08-24 12:30 airaceburu New Issue
2017-08-24 12:30 airaceburu Assigned To => Retail
2017-08-24 12:30 airaceburu Resolution time => 1504735200
2017-08-24 12:30 airaceburu Triggers an Emergency Pack => No
2017-08-31 14:25 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2017-08-31 14:25 ranjith_qualiantech_com Status new => scheduled
2017-09-05 12:28 hgbot Checkin
2017-09-05 12:28 hgbot Note Added: 0098828
2017-09-05 12:28 hgbot Status scheduled => resolved
2017-09-05 12:28 hgbot Resolution open => fixed
2017-09-05 12:28 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b3ce316b046faf5de84f1c1cf650b7ff65058ef4 [^]
2017-09-08 15:10 marvintm Review Assigned To => marvintm
2017-09-08 15:10 marvintm Status resolved => closed
2017-09-08 15:10 marvintm Fixed in Version => RR17Q4


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker