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

Attmpting to delete a Contribution Page for which there are actual contributions in the database generates an FK SQL error message.

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 1.6
    • Fix Version/s: 1.6
    • Component/s: CiviContribute
    • Labels:
      None

      Description

      The FK SQL error should be intercepted and a helpful hint provided,

      e.g.

      "You cannot delete this Conribution Page because it has already been used to submit a contribution or membership payment. It is recommended that your disable the page instead of deleting it, to preserve the integrity of your contribution records. If you do want to completely delete this contribution page, you first need to search for and delete all of the contribution transactions associated with this page in CiviContribute."

        Attachments

          Activity

            People

            • Assignee:
              rupam Rupam Jaiswal
              Reporter:
              hirstp Peter Hirst
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: