Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0050839 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
design defect | [Retail Modules] Web POS | major | have not tried | 2022-11-10 13:40 | 2022-11-10 13:43 | |||||||
Reporter | aferraz | View Status | public | |||||||||
Assigned To | Retail | |||||||||||
Priority | normal | Resolution | open | Fixed in Version | ||||||||
Status | new | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | SCM revision | |||||||||||
Review Assigned To | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0050839: Inconsistent state when canceling the action using an action preparation | |||||||||||
Description | Action 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. | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||
|
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 |