Details
-
Type: Bug
-
Status: Closed
-
Priority: Trivial
-
Resolution: Fixed
-
Affects Version/s: 3.5.3
-
Fix Version/s: 3.6.0-b1
-
Component/s: Staff Interface
-
Labels:None
Description
When creating a coupon, attempting to re-use a coupon code that already exists leads to an Integrity Constraint Violation SQL error. This is because coupon codes must be unique per company, but there does not appear to be a validation rule checking for this constraint.