Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.1.3
-
None
-
FlexSprint11
Description
Assumptions
- Pricing engine V2.0
- At least one product
Steps to Reproduce
- Go to Control Panel → Commerce → Pricing → Discounts
- Create a discount
- Enable Coupon Code
- Define a coupon code, e.g. COUPONCODE1
- Set the discount to active and publish
- Create a second discount and define the same discount code as in step 4
- Try to publish
Expected Behavior
A descriptive error message that tells the user that they can't use that code because it already exists
Actual Behavior
*Error:*Please enter a valid coupon code.
Not helpful in telling the user why it's invalid.
Reproduced On
7.1
Tomcat 9.0.33 + HSQL 2.3.3
marco-leo/liferay-portal-ee:7.1.x git hash f6228ce4798853c4074a36021934c732012b438f
Attachments
Issue Links
- fixes
-
COMMERCE-3079 As a pricing manager, I want to manage discounts
-
- Closed
-