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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0039658
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorhave not tried2018-11-20 17:222018-12-04 12:12
ReporterLeyreView Statuspublic 
Assigned Torqueralta 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisiond5c292dabf8c
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomigueldejuana
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0039658: The Web POS is blocked when it throws an exception in the balance.

DescriptionThe Web POS is blocked when it throws an exception in the balance.
Steps To ReproduceReview the code of the org.openbravo.retail.posterminal/js/model/order.js

if (p.get('obposScale') && !options.isVerifiedReturn) {
  ...
}

if there is an exception, the Web POS is blocked.
Proposed SolutionSee the attachment posterminal_scale.diff.

We test this in a client environment.
TagsNo tags attached.
Attached Filesdiff file icon posterminal_scale.diff [^] (848 bytes) 2018-11-20 17:22 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0108152)
hgbot (developer)
2018-11-28 14:57

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: d5c292dabf8c3cd1c0187049816d252e81a37b8c
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Tue Nov 20 17:47:18 2018 -0500
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d5c292dabf8c3cd1c0187049816d252e81a37b8c [^]

Fixed issue 39658: The Web POS is blocked when it throws an exception in the
balance

- Added call to callback funtion to avoid the Web POS blocked

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0108228)
migueldejuana (developer)
2018-12-03 17:06

There is no need no pass default values to callback function.

It should be enough with:

callback();

No need to call like this:

callback(false, null);
(0108247)
migueldejuana (developer)
2018-12-04 12:12

Tested and reviewed

- Issue History
Date Modified Username Field Change
2018-11-20 17:22 Leyre New Issue
2018-11-20 17:22 Leyre Assigned To => Retail
2018-11-20 17:22 Leyre File Added: posterminal_scale.diff
2018-11-20 17:22 Leyre Resolution time => 1544482800
2018-11-20 17:22 Leyre Triggers an Emergency Pack => No
2018-11-20 17:57 rqueralta Assigned To Retail => rqueralta
2018-11-20 17:57 rqueralta Status new => scheduled
2018-11-28 14:57 hgbot Checkin
2018-11-28 14:57 hgbot Note Added: 0108152
2018-11-28 14:57 hgbot Status scheduled => resolved
2018-11-28 14:57 hgbot Resolution open => fixed
2018-11-28 14:57 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d5c292dabf8c3cd1c0187049816d252e81a37b8c [^]
2018-12-03 17:06 migueldejuana Note Added: 0108228
2018-12-03 17:06 migueldejuana Status resolved => new
2018-12-03 17:06 migueldejuana Resolution fixed => open
2018-12-04 12:12 migueldejuana Status new => scheduled
2018-12-04 12:12 migueldejuana Status scheduled => resolved
2018-12-04 12:12 migueldejuana Resolution open => fixed
2018-12-04 12:12 migueldejuana Review Assigned To => migueldejuana
2018-12-04 12:12 migueldejuana Note Added: 0108247
2018-12-04 12:12 migueldejuana Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker