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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0044646
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Loyalty Programs for Web POSmajoralways2020-07-21 12:552020-08-24 11:20
Reporterprakashmurugesan88View Statuspublic 
Assigned Toprakashmurugesan88 
PrioritynormalResolutionfixedFixed in VersionRR20Q4
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0044646: Unable to remove added redemption points in webpos if 'org.openbravo.retail.testsampledata' module is not installed

DescriptionUnable 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 ReproducePrepare 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.
TagsNo tags attached.
Attached Filespatch file icon FixesRedeemPointsRemovalIssue.patch [^] (3,042 bytes) 2020-07-22 05:19 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(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 [^]

- Issue History
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 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 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 Note Added: 0122271
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
Powered by Mantis Bugtracker