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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0034016
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSminoralways2016-09-19 12:072016-09-19 12:07
ReporterguilleaerView Statuspublic 
Assigned ToRetail 
PrioritynormalResolutionopenFixed in Version
StatusnewFix 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

0034016: OrderLoader should raise an error if cashup pointed by the order does not exists

DescriptionOrderLoader should raise an error if the cashup id of the jsonorder does not exists in the system
Steps To Reproduce1. Create an order
2. add a product
3. Using dev toosl put a breakpoint just when the cashup_id is set just before send order to backend
4. pay the order
5. when the code stops in the breakpoint, just execute this code in the developer tools:
receipt.set('obposAppCashup', '00AA23');
And then resume the execution.
6. ERROR: Order is processed whithout errors. Cashup field of the order is null
Proposed Solutionin orderloader class, in method verifyCashupStatus add the following code


- if (cashUp != null && cashUp.isProcessedbo()) {
+ if (cashUp == null) {
+ throw new OBException("The cashup related to this order does not exists");
+ } else if (cashUp != null && cashUp.isProcessedbo()) {
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2016-09-19 12:07 guilleaer New Issue
2016-09-19 12:07 guilleaer Assigned To => Retail
2016-09-19 12:07 guilleaer Triggers an Emergency Pack => No


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker