Openbravo Issue Tracking System - POS2
View Issue Details
0053683POS2Corepublic2023-10-17 16:132023-10-17 16:13
migueldejuana 
Triage Platform Base 
normalmajoralways
newopen 
5
 
 
No
0053683: Issue with manually launched UIAction inside another User Action when canceling the approval
If we launch a UIAction manually inside another UserAction(preHook) and that UIAction has an approval and we cancel that approval, we will cancel de UIAction but the UserAction will continue with the execution. We need to handle manually if the UIAction is canceled and cancel the UserAction if needed.
- Define an approval for OBPOS2_SelectManualDiscountsToApply
- Login in POS2 and add a product
- Select the line and select Discount button in the popover
- We launch switch Window action and inside the preHook we launch manually OBPOS2_SelectManualDiscountsToApply action
- The approval popup is shown for OBPOS2_SelectManualDiscountsToApply action and we cancel it
- The action OBPOS2_SelectManualDiscountsToApply is Canceled but Switch Window action goes ahead.
Check all the UserActions executed manually(.launch) and ensure that we handle properly the cancelation.
No tags attached.
Issue History
2023-10-17 16:13migueldejuanaNew Issue
2023-10-17 16:13migueldejuanaAssigned To => Triage Platform Base
2023-10-17 16:13migueldejuanaTriggers an Emergency Pack => No

There are no notes attached to this issue.