Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-1800

Integrity constraint violation error when adding duplicate coupon code

    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.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            tyson Tyson Phillips (Inactive)
            Reporter:
            tyson Tyson Phillips (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              28/Sep/15