Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-20192

CiviDiscount: Upgrader fails if columns already exist

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.16
    • Fix Version/s: None
    • Component/s: CiviContribute
    • Labels:
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code
    • Verified?:
      No

      Description

      Cividiscount upgrader does not check for existing columns before creating. Resulting in failed upgrade if columns already exist. This patch checks for existing columns first and allows the upgrader to complete successfully instead of getting stuck!

      https://github.com/dlobo/org.civicrm.module.cividiscount/pull/173

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mattwire Matthew Wire
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: