Openbravo Issue Tracking System - Retail Modules | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0048516 | Retail Modules | Loyalty Programs for Web POS | public | 2022-02-02 15:33 | 2022-02-21 08:19 | ||||||||||||||
Reporter | martinsdan | ||||||||||||||||||
Assigned To | ranjith_qualiantech_com | ||||||||||||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||||||||||||
Status | closed | Resolution | fixed | ||||||||||||||||
Platform | OS | 30 | OS Version | Ubuntu 18.04.1 LTS | |||||||||||||||
Product Version | |||||||||||||||||||
Target Version | RR22Q1.1 | Fixed in Version | |||||||||||||||||
Merge Request Status | |||||||||||||||||||
Review Assigned To | |||||||||||||||||||
OBNetwork customer | |||||||||||||||||||
Support ticket | |||||||||||||||||||
Regression level | |||||||||||||||||||
Regression date | |||||||||||||||||||
Regression introduced in release | |||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||||
Summary | 0048516: It is not possible to redeem points while doing a purchase | ||||||||||||||||||
Description | When doing a purchase, the system asks if the customer wants to burn points. This should create and use a gift card. The points are burned but an error is shown. Also, the error message is missing in AD | ||||||||||||||||||
Steps To Reproduce | https://watch.screencastify.com/v/P7R0DHwuW9yCVNqUREMi [^] To Reproduce the issue in livebuilds pi Code: GiftCardModel.java consumeAmountGiftCard Line 267. Throw Some Exception Backoffice: Don't add Manual Earn Rule for "Automatic Loyalty Program Membership" under Earn Rules 1) Use Customer "STA Customer (Multi Subscription)" 2) Add product 3) Redeem the points 4) Error Occurred (due to "Manual Earn Rule" is not configured for "Automatic Loyalty Program Membership"). KO 5) But points consumed. - KO (Can be checked in Subscriptions tab under Business Partner). To reuse the loyalty program "Automatic Loyalty Program Membership", reset the points (subscription points and earned points) under Business Partner in postgres Same Case when removing gift certificate payment CancelGiftCertificateAmount.java restorePoints Line 75. Throw Some Exception 1) Use Customer "STA Customer (Multi Subscription)" 2) Add product 3) Redeem the points 4) Gift Certificate payment line created. 5) Remove payment. Error should be shown. But its not shown. KO 6) Payment should not be removed until it was success in backoffice. Now, payment is removed before receiving the response from server. KO For removing gift certificate payment, "Manual Earn Rule" should be added under Earn Rules for the Loyalty Program | ||||||||||||||||||
Proposed Solution | The problem is in GiftCardModel.consumeAmountGiftCard when comparing the gift card organization with the current organization. The current organization is the store but the gift card organization is the legal organization. | ||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | |||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2022-02-02 15:33 | martinsdan | New Issue | |||||||||||||||||
2022-02-02 15:33 | martinsdan | Assigned To | => Retail | ||||||||||||||||
2022-02-02 15:33 | martinsdan | Triggers an Emergency Pack | => No | ||||||||||||||||
2022-02-02 15:34 | martinsdan | Relationship added | related to 0048315 | ||||||||||||||||
2022-02-02 15:36 | martinsdan | Category | Gift cards and gift vouchers => Loyalty Programs for Web POS | ||||||||||||||||
2022-02-03 07:27 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com | ||||||||||||||||
2022-02-04 11:40 | ranjith_qualiantech_com | Status | new => scheduled | ||||||||||||||||
2022-02-07 12:29 | ranjith_qualiantech_com | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=23632#r23632 | ||||||||||||||||
2022-02-08 06:25 | ranjith_qualiantech_com | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=23635#r23635 | ||||||||||||||||
2022-02-08 06:29 | hgbot | Note Added: 0134821 | |||||||||||||||||
2022-02-08 06:35 | hgbot | Note Added: 0134822 | |||||||||||||||||
2022-02-18 06:31 | hgbot | Note Added: 0135107 | |||||||||||||||||
2022-02-21 08:19 | hgbot | Resolution | open => fixed | ||||||||||||||||
2022-02-21 08:19 | hgbot | Note Added: 0135154 | |||||||||||||||||
2022-02-21 08:19 | hgbot | Status | scheduled => closed | ||||||||||||||||
2022-02-21 08:19 | hgbot | Note Added: 0135155 | |||||||||||||||||
2022-03-01 11:40 | ranjith_qualiantech_com | Relationship added | related to 0048695 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|