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

CiviContribute : Delete Contribution Does NOT Delete Related Custom Field Data

    Details

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

      Description

      When a contribution is deleted - we are neglecting to delete any associated civicrm_custom_value records.

      Example:

      • civicrm_contribution.id = 29 has the following custom data:
        id custom_field_id entity_table entity_id int_data float_data decimal_data char_data date_data memo_data file_id

        -----------------------------------------------------------------------------------------------------------------------

        88 11 civicrm_contribution 29 NULL NULL NULL Yes NULL NULL NULL
      • when i delete that contribution - this record is still in the DB

      This was recreated on the 1.7 sandbox and verified by me...

          • Please commit work on this separately from other issues and mark with this Jira issue #***

        Attachments

          Activity

            People

            • Assignee:
              junia Junia Biswas
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: