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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0039915
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSmajoralways2019-01-10 13:432019-01-28 09:38
ReporterjavierRodriguezView Statuspublic 
Assigned Toasiermartirena 
PrioritynormalResolutionfixedFixed in VersionRR19Q1
StatusclosedFix in branchFixed in SCM revision3e9d9ac046d2
ProjectionnoneETAnoneTarget VersionRR19Q1
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

0039915: A JS error is shown when a ticket is paid again partially with Pay Open Ticket

Descriptionif you have a partially paid product created as Mara Studson with a service in your ticket and also a product set to undeliverable and you try to pay it partially with Pay Open Ticket, a JS error is going to be shown:

Uncaught (in promise) DOMException: Failed to execute 'executeSql' on 'SQLTransaction': SQL execution is disallowed.
Steps To Reproduce- Change the customer to Mara Studson
- Add blue trousers with Customize Blue Trousers as a service
- Add avalanche transceiver
- Set the avalanche transceiver as undeliverable
- Pay partially the ticket, just 50e.
- Open again the ticket
- Set the avalanche transceiver as deliverable
- Pay it again partially using Pay Open Ticket

*Included test that reproduce this issue
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0039914 closedasiermartirena A JS error is shown when a ticket is paid again partially with Pay Open Ticket 

-  Notes
(0108919)
hgbot (developer)
2019-01-11 08:59

Repository: retail/backports/3.0RR19Q1/org.openbravo.retail.posterminal
Changeset: 3e9d9ac046d24671f79eed39c84639f8ab84681d
Author: Asier Martirena <asier.martirena <at> openbravo.com>
Date: Fri Jan 11 08:58:40 2019 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR19Q1/org.openbravo.retail.posterminal/rev/3e9d9ac046d24671f79eed39c84639f8ab84681d [^]

Fixed issue 39915: A JS error is shown when a ticket is paid again partially with Pay Open Ticket

Now, the properties set to a receipt before synchronizing it in 'Pay Open Tickets' (also the invoice property) are set before creating the database (websql) transaction.

---
M web/org.openbravo.retail.posterminal/js/data/dataordersave.js
---

- Issue History
Date Modified Username Field Change
2019-01-10 13:50 javierRodriguez Type defect => backport
2019-01-10 13:50 javierRodriguez Target Version => RR19Q1
2019-01-11 08:59 hgbot Checkin
2019-01-11 08:59 hgbot Note Added: 0108919
2019-01-11 08:59 hgbot Status scheduled => resolved
2019-01-11 08:59 hgbot Resolution open => fixed
2019-01-11 08:59 hgbot Fixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR19Q1/org.openbravo.retail.posterminal/rev/3e9d9ac046d24671f79eed39c84639f8ab84681d [^]
2019-01-11 09:03 marvintm Assigned To Retail => asiermartirena
2019-01-28 09:38 marvintm Review Assigned To => marvintm
2019-01-28 09:38 marvintm Status resolved => closed
2019-01-28 09:38 marvintm Fixed in Version => RR19Q1


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker