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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0056736
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2024-10-10 16:032024-10-21 16:54
Reporterandre_montenegroView Statuspublic 
Assigned Toguilleaer 
PrioritynormalResolutionopenFixed in Version
StatusscheduledFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0056736: Incorrect Approval Dialog Display for Coupons with Extra Validity Days if triggered though Coupons options

DescriptionIn a scenario where extra validity days are configured for a coupon, and the manager role is granted the 'Allow Extra Validity Days for Coupons' action for the cashier role, an issue arises.

When a cashier attempts to apply a coupon that has expired but is within the extra validity days, the system correctly prompts for approval. However, the approval dialog that appears does not display fields for the approver's username and password. Instead, it displays a field to re-enter the coupon.

Upon clicking the 'Redeem' button in this state, an error pop-up is triggered, displaying 'this.stateDispatcher is not a function'.

This issue prevents the correct application of coupons within their extra validity days, disrupting the checkout process.

But if the coupon code is introduced using the scan code field, the dialog displayed is the expected one.

This behavior has been observed in 24Q3 too.
Steps To ReproduceConfigure manager and cashier roles access in the 'Role' window of Backoffice
Cashier Role:
1. Open 'VallBlancaUser' role
2. Go to 'User Action Access' tab
3. Add 'Allow Extra Validity Days for Coupons' user action with 'Approval = Approval Required' and 'Confirmation Required' and 'Active' flags selected
Manager Role:
1. Open 'The White Valley Group Admin' role
2. Go to 'User Action Access' tab
3. Add 'Allow Extra Validity Days for Coupons' user action with 'Approval = Can Use and Approve' and 'Confirmation Required' and 'Active' flags selected

Configure Coupon to have extra validity period in 'Discounts and Promotions' window of Backoffice
1. Open 'price_adjust_chrampons_30_eur' discount →'Definition' section
2. Tick 'Uses coupon codes' checkbox
3. Go to 'Coupons' tab
4. Add new record with the following values:
 - Coupon Code = 1234
 - Number of Uses = Infinite
 - Valid From = 8 days before today
 - Valid To = 4 days before today
 - Coupon Extra Validity Days = 6


Steps to reproduce issue
    
1. Log in to POS as a cashier (VallBlancaUser)
2. Add 3 units of 'Crampons 10 point' product to the Order
3. Push 3 dots above 'Pay' button
4. Select 'Coupons' option
5. Push 'Redeem Coupon' button at the top right
6. Introduce an expired Coupon code with extra validity date:: 1234
7. Click 'Redeem' button

Actual result: Observe that the approval dialog appears does not display fields for the approver's username and password. Instead, it displays a field to re-enter the coupon.
Expected result: Approval dialog must display fields for the approver's username and password.
TagsNo tags attached.
Attached Filespng file icon ExtraValidityDateApprovalDialog.png [^] (104,110 bytes) 2024-10-10 16:05

- Relationships Relation Graph ] Dependency Graph ]
depends on defect 0056852 newTriage Platform Base Request approval dialog does not show username + password 
Not all the children of this issue are yet resolved or closed.

-  Notes
(0170720)
guilleaer (manager)
2024-10-21 16:42

A bug was created for platform team which seems to be the real cause of this issue.
Once it is fixed we will recheck the issue to confirm that it will fix both problems

- Issue History
Date Modified Username Field Change
2024-10-10 16:03 andre_montenegro New Issue
2024-10-10 16:03 andre_montenegro Assigned To => Retail
2024-10-10 16:03 andre_montenegro Regression introduced by commit => "Extra Validity Date Approval' dialog content does not allow to introduce user and password
2024-10-10 16:03 andre_montenegro Triggers an Emergency Pack => No
2024-10-10 16:05 andre_montenegro File Added: ExtraValidityDateApprovalDialog.png
2024-10-10 16:06 andre_montenegro version => pi
2024-10-10 16:06 andre_montenegro Description Updated View Revisions
2024-10-10 16:07 andre_montenegro Regression introduced by commit "Extra Validity Date Approval' dialog content does not allow to introduce user and password =>
2024-10-11 11:58 guilleaer Status new => acknowledged
2024-10-14 15:02 Bimla_vm Assigned To Retail => Bimla_vm
2024-10-14 15:02 Bimla_vm Status acknowledged => scheduled
2024-10-21 16:40 guilleaer Relationship added depends on 0056852
2024-10-21 16:41 guilleaer Assigned To Bimla_vm => guilleaer
2024-10-21 16:42 guilleaer Note Added: 0170720


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker