Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0044646 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Loyalty Programs for Web POS | major | always | 2020-07-21 12:55 | 2020-08-24 11:20 | |||
Reporter | prakashmurugesan88 | View Status | public | |||||
Assigned To | prakashmurugesan88 | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR20Q4 | |||
Status | closed | 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 | |||||||
Merge Request Status | approved | |||||||
Review Assigned To | marvintm | |||||||
OBNetwork customer | OBPS | |||||||
Support ticket | 16837 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0044646: Unable to remove added redemption points in webpos if 'org.openbravo.retail.testsampledata' module is not installed | |||||||
Description | Unable to remove added redemption points in webpos if 'org.openbravo.retail.testsampledata' module is not installed * Seems this is because in CancelGiftCertificateAmount.java MANUAL_EARN_RULE_ID is hardcoded * This id will not exists if testsampledata module is not installed | |||||||
Steps To Reproduce | Prepare 20Q1 environment without testsampledata module. For eg:(Pack + Loyalty Modules) Loyalty Modules: org.openbravo.retail.loyalty.programs -> version 1.0.400 org.openbravo.retail.loyalty.burn.giftcertificate -> 1.0.100 org.openbravo.loyalty.programs -> 1.0.100 org.openbravo.loyalty.earn.buyxearny -> 1.0.0 org.openbravo.loyalty.burn.giftcertificate -> 1.0.100 org.openbravo.loyalty.burn.expired -> 1.0.100 org.openbravo.retail.giftcards-> 1.3.1300 1. Configure the loyalty program in the Backend http://wiki.openbravo.com/wiki/Projects:Loyalty_Programs/User_Guide [^] 2. Login into Web POS 3. Add a customer who is subscribed to a loyalty program. 4. Add a product. 5. Click on total receipt. 6. Confirm that we want to redeem the points. 7. Try to remove the added points. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|
![]() |
|
(0122271) hgbot (developer) 2020-08-24 06:16 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.burn.giftcertificate/-/merge_requests/4 [^] |
(0122273) hgbot (developer) 2020-08-24 07:25 |
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.burn.giftcertificate [^] Changeset: 5304c1629d22002e3cf6d2f7f6be105557e43efa Author: Prakash <prakash@qualiantech.com> Date: 2020-08-23T14:17:32+05:30 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.burn.giftcertificate/-/commit/5304c1629d22002e3cf6d2f7f6be105557e43efa [^] Related to ISSUE-44646: Unable to remove added redeem loyalty points when all module sample data is not installed (org.openbravo.retail.testsampledata) * This is because of foreign key violation of Earn Rule * In class CancelGiftCertificateAmount, MANUAL_EARN_RULE_ID is hardcoded * This id will not exists if testsampledata module is not installed * Instead of hardcoded earn rule id, fetched earn rule using subscription's category and manual rule id --- M src/org/openbravo/retail/loyalty/burn/giftcertificate/process/CancelGiftCertificateAmount.java --- |
(0122274) hgbot (developer) 2020-08-24 07:25 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.burn.giftcertificate/-/merge_requests/4 [^] |
(0122280) hgbot (developer) 2020-08-24 11:12 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.burn.giftcertificate/-/merge_requests/5 [^] |
(0122283) hgbot (developer) 2020-08-24 11:20 |
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.burn.giftcertificate [^] Changeset: dcd1ae838ae78bc1a63b8135ec4f45b4dee43a5e Author: Prakash M <prakash@qualiantech.com> Date: 2020-08-24T14:38:59+05:30 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.burn.giftcertificate/-/commit/dcd1ae838ae78bc1a63b8135ec4f45b4dee43a5e [^] Related to BUG-44646: Removed unused imports and fixes try warnings --- M src/org/openbravo/retail/loyalty/burn/giftcertificate/process/CancelGiftCertificateAmount.java --- |
(0122284) hgbot (developer) 2020-08-24 11:20 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.burn.giftcertificate/-/merge_requests/5 [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2020-07-21 12:55 | prakashmurugesan88 | New Issue | |
2020-07-21 12:55 | prakashmurugesan88 | Assigned To | => prakashmurugesan88 |
2020-07-21 12:55 | prakashmurugesan88 | OBNetwork customer | => No |
2020-07-21 12:55 | prakashmurugesan88 | Triggers an Emergency Pack | => No |
2020-07-21 12:59 | prakashmurugesan88 | Steps to Reproduce Updated | View Revisions |
2020-07-22 05:19 | prakashmurugesan88 | File Added: FixesRedeemPointsRemovalIssue.patch | |
2020-08-03 16:10 | prakashmurugesan88 | Issue Monitored: Leyre | |
2020-08-14 07:17 | Leyre | OBNetwork customer | No => OBPS |
2020-08-14 07:17 | Leyre | Support ticket | => 16837 |
2020-08-14 07:17 | Leyre | Resolution time | => 1599170400 |
2020-08-14 07:17 | Leyre | Reproducibility | have not tried => always |
2020-08-21 11:03 | prakashmurugesan88 | Status | new => scheduled |
2020-08-24 06:16 | hgbot | Merge Request Status | => open |
2020-08-24 06:16 | hgbot | Note Added: 0122271 | |
2020-08-24 07:25 | hgbot | Merge Request Status | open => approved |
2020-08-24 07:25 | hgbot | Note Added: 0122273 | |
2020-08-24 07:25 | hgbot | Note Added: 0122274 | |
2020-08-24 07:25 | marvintm | Status | scheduled => resolved |
2020-08-24 07:25 | marvintm | Fixed in Version | => RR20Q4 |
2020-08-24 07:25 | marvintm | Resolution | open => fixed |
2020-08-24 07:25 | marvintm | Review Assigned To | => marvintm |
2020-08-24 07:25 | marvintm | Status | resolved => closed |
2020-08-24 11:12 | hgbot | Note Added: 0122280 | |
2020-08-24 11:20 | hgbot | Note Added: 0122283 | |
2020-08-24 11:20 | hgbot | Note Added: 0122284 |
Copyright © 2000 - 2009 MantisBT Group |