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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0044132
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2020-05-21 11:482020-06-02 06:38
ReportermalsasuaView Statuspublic 
Assigned Toranjith_qualiantech_com 
PrioritynormalResolutionopenFixed in Version
StatusscheduledFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0044132: JS error when ticket is created in previous version and you try to pay in a newer version

DescriptionWhen one ticket is created in 18Q3 or previous release, but it is not completed, and it is stored in local database and never deleted, when environment is updated to 19Q3 or higher and cashup is done, the previous ticket is displayed to delete or to bring. If you bring it, and click in total amount button, JS error button is displayed


Steps To Reproduce. in 18Q3:
1- do login with VallBlanca
2- new receipt
3- add Avalanche transceiver: total ticket 150.50
4- click in total amount button and add cash payment: 150.50 ->NO COMPLETE TICKET
5- return to ticket and delete line
6- lock screen
7- do login with demo user:
8- complete cashup
. update to 19Q3
9- do login with demo user
10- click in cashup button: ticket created in 2 is displayed
11- click in bring button and cancel
12- click in total button (0)
Error is displayed:


TypeError: callback is not a function at OB.DS.HWServer._print (http://localhost:8080/openbravo/web/js/gen/76fa47d83be7fe1d9b7b6da9867fa16f.js:2427:274 [^]) at OB.DS.HWServer.print (http://localhost:8080/openbravo/web/js/gen/76fa47d83be7fe1d9b7b6da9867fa16f.js:2426:391 [^]) at http://localhost:8080/openbravo/web/js/gen/76fa47d83be7fe1d9b7b6da9867fa16f.js:2426:342 [^] at OB.DS.HWResource.getData (http://localhost:8080/openbravo/web/js/gen/76fa47d83be7fe1d9b7b6da9867fa16f.js:2413:1263 [^]) at OB.DS.HWServer.print (http://localhost:8080/openbravo/web/js/gen/76fa47d83be7fe1d9b7b6da9867fa16f.js:2426:316 [^]) at PrintReceipt.displayTotal (http://localhost:8080/openbravo/web/js/gen/76fa47d83be7fe1d9b7b6da9867fa16f.js:3382:231 [^]) at G.d.trigger (http://localhost:8080/openbravo/web/org.openbravo.mobile.core/lib/vendor/backbone-0.9.2.min.js:9:85 [^]) at Object.showPaymentTab (http://localhost:8080/openbravo/web/js/gen/76fa47d83be7fe1d9b7b6da9867fa16f.js:3566:128 [^]) at http://localhost:8080/openbravo/web/js/gen/76fa47d83 [^]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0120514)
hgbot (developer)
2020-06-02 06:38

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 9486f8337fec803959dceb7d28eff45ff0871ab6
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Jun 02 10:07:37 2020 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/9486f8337fec803959dceb7d28eff45ff0871ab6 [^]

Related to issue-44132 : Added validation for callback in HWServer print

---
M web/org.openbravo.retail.posterminal/js/datasource.js
---

- Issue History
Date Modified Username Field Change
2020-05-21 11:48 malsasua New Issue
2020-05-21 11:48 malsasua Assigned To => Retail
2020-05-21 11:48 malsasua Triggers an Emergency Pack => No
2020-05-25 08:59 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2020-05-25 08:59 ranjith_qualiantech_com Status new => scheduled
2020-06-02 06:38 hgbot Checkin
2020-06-02 06:38 hgbot Note Added: 0120514


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker