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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0050839
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Retail Modules] Web POSmajorhave not tried2022-11-10 13:402022-11-10 13:43
ReporteraferrazView 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

0050839: Inconsistent state when canceling the action using an action preparation

DescriptionAction preparations allow to cancel the action throwing a OB.App.Class.ActionCanceled.

If the action is canceled, then following action preparations and the state action are not executed.

In case any business logic is executed before the action preparation cancels the action (using a user action in ReactPOS or backbone code in EnyoPOS), it can create an inconsistent state.

This can happen in addPayment or deletePayment state actions when using a payment provider. See 0050260.
But could happen with any state action where we have an integration run before the state action (payment integration, fiscal integration, etc.).
Steps To Reproduce- Create a ticket
- Set stopAddingPayments property to true in ticket state.
- Add a payment using any payment provider like Adyen.
- Check the payment provider has been run but the add payment action has been canceled by AddPaymentUtils.checkStopAddingPayments() function.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0050260 closedjlopez POS2 Limit payment method when refund with Adyen 

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2022-11-10 13:40 aferraz New Issue
2022-11-10 13:40 aferraz Assigned To => Retail
2022-11-10 13:40 aferraz Triggers an Emergency Pack => No
2022-11-10 13:40 aferraz Relationship added related to 0050260
2022-11-10 13:43 aferraz Steps to Reproduce Updated View Revisions


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker