Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0045501 | Retail Modules | Loyalty Programs for Web POS | public | 2020-11-24 19:55 | 2020-12-21 06:52 |
Reporter | collazoandy4 | ||||
Assigned To | ranjith_qualiantech_com | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | 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 | 0045501: Loyalty subscription is updated if it set as active = false after loaded from backend with a custom code | ||||
Description | When a customer is subscribed to a loyalty program and the subscription have a custom status (finalize) that invalidated it (active = false) in the frontend, the customer can subscribe to the same loyalty program again and a new subscription is created in the frontend, when this new subscription is synchronized the one with finalize status is updated to the default program status (new) and the Loyalty Subscription Details popup can show the category value because the updated subscription is not replaced by the one created in the save process and could not be found after search by id | ||||
Steps To Reproduce | - Enable the Loyalty Program for YS-11 pos terminal in the backend - Search for Carl Studson business partner and add a new subscription for the created program - Check in backend in Subscription tab that a new record exists and update the subscription status to a different one - Set a breakpoint at the end (before calling the callback) in successCallback function of OBRLP.findSubscriptions function - Open the customer subscription popup and create a new one - Set isactive property as false in the breakpoint (subscriptions[0].isactive = false) - Check you can subscribe the customer to the same loyalty program - Add a new subscription to the business partner and check in backend the subscription is updated to the default loyalty program status and the Loyalty Program Details popup have the category as undefined | ||||
Proposed Solution | Return the subscription updated when is synchronized to the backend | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2020-11-24 19:55 | collazoandy4 | New Issue | |||
2020-11-24 19:55 | collazoandy4 | Assigned To | => Retail | ||
2020-11-24 19:55 | collazoandy4 | Resolution time | => 1604790000 | ||
2020-11-24 19:55 | collazoandy4 | Triggers an Emergency Pack | => No | ||
2020-11-25 09:59 | marvintm | Resolution time | 1604790000 => 1607382000 | ||
2020-11-30 07:20 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com | ||
2020-12-09 07:32 | ranjith_qualiantech_com | Status | new => scheduled | ||
2020-12-21 05:27 | hgbot | Note Added: 0125012 | |||
2020-12-21 06:52 | hgbot | Resolution | open => fixed | ||
2020-12-21 06:52 | hgbot | Status | scheduled => closed | ||
2020-12-21 06:52 | hgbot | Note Added: 0125013 | |||
2020-12-21 06:52 | hgbot | Note Added: 0125014 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|