Claiming a CouponBatch Causes a Promotion to be Removed from the Promotions Property. (Doc ID 1965746.1)

Last updated on DECEMBER 22, 2016

Applies to:

Oracle Commerce Platform - Version 9.4 and later
Information in this document applies to any platform.

Symptoms

Statement of Issue:
-----------------------------
After a coupon is claimed from a BatchPromotionClaimable, the promotionIds property no longer contains the id of the promotion that was claimed. It should retain this when coupons are claimed.

Steps:
---------
1. Create a project with coupon batch in BCC.
2. Create a promotion and associate above coupon batch with this promotion.
3. Deploy the project.
4. Apply some coupon from batch.
5. Go to /atg/commerce/claimable/ClaimableRepository
6. List all items for BatchPromotionClaimable.
7. Observe Promotion[ids] property value. (Promotion ID is listed here).
8. Invoke Invalidate Cache method.
9. Again go to atg/commerce/claimable/ClaimableRepository and list all items for BatchPromotionClaimable.
10. Observe Promotion[ids] property value, Promotions property is empty after invoke the 'Invalidate cache' method

Expected Behavior:
---------------------------
No change in BatchPromotionClaimable.promotionIds.

Actual Behavior:
-----------------------
The claimed promotionId is removed from BatchPromotionClaimable.

Business Impact:
-------------------------
Customer cannot effectively use BatchPromotionClaimable and hence cannot implement their intended promotion mechanism.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms